diff --git a/MOVED b/MOVED index 245dd82f52b81..fcc1da34a8f1d 100644 --- a/MOVED +++ b/MOVED @@ -8173,3 +8173,4 @@ polish/tleenx2||2023-12-05|Has expired: Last upstream release was in 2004 polish/libtlen||2023-12-05|Has expired: Last upstream release was in 2004 devel/rubygem-font-awesome-rails-rails50|devel/rubygem-font-awesome-rails-rails60|2023-12-06|Obsolete, use devel/rubygem-font-awesome-rails-rails60 instead security/rubygem-devise-two-factor-rails61|security/rubygem-devise-two-factor-rails70|2023-12-06|Obsolete, use security/rubygem-devise-two-factor-rails70 instead +net/py-anonfile||2023-12-07|Has expired: anonfile.com has shut down diff --git a/net/Makefile b/net/Makefile index fee36f7a068de..f93f25dc7d7ad 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1034,7 +1034,6 @@ SUBDIR += py-aiohttp-socks SUBDIR += py-amqp SUBDIR += py-amqplib - SUBDIR += py-anonfile SUBDIR += py-avahi SUBDIR += py-blobfile SUBDIR += py-bonsai diff --git a/net/py-anonfile/Makefile b/net/py-anonfile/Makefile deleted file mode 100644 index 0b52f80e28721..0000000000000 --- a/net/py-anonfile/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -PORTNAME= anonfile -DISTVERSION= 1.0.0 -PORTREVISION= 1 -CATEGORIES= net python -MASTER_SITES= PYPI -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} - -MAINTAINER= DtxdF@disroot.org -COMMENT= Unofficial library that wraps the anonfile.com REST API -WWW= https://github.com/nstrydom2/anonfile-api - -LICENSE= MIT - -DEPRECATED= anonfile.com has shut down -EXPIRATION_DATE= 2023-12-07 - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>0:devel/py-importlib-metadata@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests-toolbelt>0:www/py-requests-toolbelt@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} - -USES= dos2unix python:3.9+ -USE_PYTHON= autoplist distutils - -NO_ARCH= yes - -.include diff --git a/net/py-anonfile/distinfo b/net/py-anonfile/distinfo deleted file mode 100644 index d6c93b761591b..0000000000000 --- a/net/py-anonfile/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1691647723 -SHA256 (anonfile-1.0.0.tar.gz) = d64f5180d6d400098ae32eeb62a0b82b7095f1cdcda0bcacfe71d91ac3bc03ec -SIZE (anonfile-1.0.0.tar.gz) = 14082 diff --git a/net/py-anonfile/files/patch-setup.py b/net/py-anonfile/files/patch-setup.py deleted file mode 100644 index 41fb788e12e2c..0000000000000 --- a/net/py-anonfile/files/patch-setup.py +++ /dev/null @@ -1,32 +0,0 @@ ---- setup.py.orig 2023-08-10 06:12:11 UTC -+++ setup.py -@@ -9,14 +9,6 @@ with open("src/anonfile/anonfile.py", encoding='utf-8' - python_major = int(re.search(r'python_major = "(.*?)"', lines).group(1)) - python_minor = int(re.search(r'python_minor = "(.*?)"', lines).group(1)) - --print("reading dependency file") -- --with open("requirements/release.txt", mode='r', encoding='utf-8') as requirements: -- packages = requirements.read().splitlines() -- --with open("requirements/dev.txt", mode='r', encoding='utf-8') as requirements: -- dev_packages = requirements.read().splitlines() -- - print("reading readme file") - - with open("README.md", "r") as fh: -@@ -37,9 +29,12 @@ setup( - 'Changelog': "https://github.com/nstrydom2/anonfile-api/blob/master/CHANGELOG.md" - }, - python_requires=">=%d.%d" % (python_major, python_minor), -- install_requires=packages, -+ install_requires=[ -+ "requests", -+ "requests-toolbelt", -+ "tqdm" -+ ], - extra_requires={ -- 'dev': dev_packages[1:], - 'test': ['pytest'] - }, - package_dir={'': 'src'}, diff --git a/net/py-anonfile/pkg-descr b/net/py-anonfile/pkg-descr deleted file mode 100644 index 572f14dd7ef59..0000000000000 --- a/net/py-anonfile/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -anonfile is an unofficial Python API created to make uploading and -downloading files from simple and effective for -programming in Python. The goal of the project is to create an -intuitive library for anonymous file sharing.