Bug 272021 - [NEW PORT] net/py-anonfile: Unofficial library that wraps the anonfile.com REST API
Summary: [NEW PORT] net/py-anonfile: Unofficial library that wraps the anonfile.com RE...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL: https://github.com/nstrydom2/anonfile...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-16 06:59 UTC by Jesús Daniel Colmenares Oviedo
Modified: 2023-07-06 06:53 UTC (History)
1 user (show)

See Also:


Attachments
py-anonfile-0.2.7.patch (6.35 KB, patch)
2023-06-16 06:59 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff
py-anonfile-0.2.7.patch (4.92 KB, patch)
2023-06-30 21:43 UTC, Jesús Daniel Colmenares Oviedo
DtxdF: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesús Daniel Colmenares Oviedo 2023-06-16 06:59:56 UTC
Created attachment 242802 [details]
py-anonfile-0.2.7.patch

Description:

anonfile is an unofficial Python API created to make uploading and
downloading files from <anonfiles.com> simple and effective for
programming in Python. The goal of the project is to create an
intuitive library for anonymous file sharing.

WWW: https://github.com/nstrydom2/anonfile-api/

QA:

* portlint: OK (looks fine.)
* testport: OK (poudriere: 13.2-RELEASE, amd64)
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2023-06-25 17:21:20 UTC
Thank you for your submission.  Here are some comments:

 - if the port does not ship a license file, just leave LICENSE_FILE unset.  Do
   not ship a custom license file in FILESDIR unless it is a special license or
   something like that.
 - there's no need to have 3.7+ in USES=python as we do not ship Python 3.6 and
   earlier anymore.

Please check and resubmit.  Will proceed with a build test once these issues are
addressed.
Comment 2 Jesús Daniel Colmenares Oviedo 2023-06-30 21:43:44 UTC
Created attachment 243085 [details]
py-anonfile-0.2.7.patch

Description:

* Remove LICENSE_FILE
* Remove ${FILESDIR}/LICENSE
* Change USES=python3.7+ to USES=python3.9+

QA:

* portlint: OK (looks fine.)
* testport: OK (poudriere: 13.2-RELEASE, amd64)
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-07-05 17:26:24 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=55b68f21474e20e69bae407af0d10be8746a103a

commit 55b68f21474e20e69bae407af0d10be8746a103a
Author:     Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-06-30 21:41:46 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-07-05 17:21:09 +0000

    net/py-anonfile: New port: Unofficial library that wraps the anonfile.com REST API

    anonfile is an unofficial Python API created to make uploading and
    downloading files from <anonfiles.com> simple and effective for
    programming in Python. The goal of the project is to create an
    intuitive library for anonymous file sharing.

    WWW: https://github.com/nstrydom2/anonfile-api

    PR:             272021

 net/Makefile                                       |  1 +
 net/py-anonfile/Makefile (new)                     | 23 +++++++++++++++
 net/py-anonfile/distinfo (new)                     |  3 ++
 net/py-anonfile/files/patch-setup.py (new)         | 33 ++++++++++++++++++++++
 .../files/patch-src_anonfile_anonfile.py (new)     | 12 ++++++++
 net/py-anonfile/pkg-descr (new)                    |  4 +++
 6 files changed, 76 insertions(+)
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2023-07-06 06:53:16 UTC
Thank you for your contribution.