1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

net/py-anonfile: Remove expired port

2023-12-07 net/py-anonfile: anonfile.com has shut down
This commit is contained in:
Muhammad Moinur Rahman 2023-12-07 06:12:10 +01:00
parent 2bbee7cdd7
commit 12a8c314fd
6 changed files with 1 additions and 67 deletions

1
MOVED
View File

@ -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

View File

@ -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

View File

@ -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 <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1691647723
SHA256 (anonfile-1.0.0.tar.gz) = d64f5180d6d400098ae32eeb62a0b82b7095f1cdcda0bcacfe71d91ac3bc03ec
SIZE (anonfile-1.0.0.tar.gz) = 14082

View File

@ -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'},

View File

@ -1,4 +0,0 @@
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.