View | Details | Raw Unified | Return to bug 273038
Collapse All | Expand All

(-)b/net/py-anonfile/Makefile (-1 / +1 lines)
Lines 1-5 Link Here
1
PORTNAME=	anonfile
1
PORTNAME=	anonfile
2
DISTVERSION=	0.2.7
2
DISTVERSION=	1.0.0
3
CATEGORIES=	net python
3
CATEGORIES=	net python
4
MASTER_SITES=	PYPI
4
MASTER_SITES=	PYPI
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
(-)b/net/py-anonfile/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1686877067
1
TIMESTAMP = 1691647723
2
SHA256 (anonfile-0.2.7.tar.gz) = 25357970d0e567208f4b07f6ebf036c4934b78f04f991b271bf89fe13252359d
2
SHA256 (anonfile-1.0.0.tar.gz) = d64f5180d6d400098ae32eeb62a0b82b7095f1cdcda0bcacfe71d91ac3bc03ec
3
SIZE (anonfile-0.2.7.tar.gz) = 12086
3
SIZE (anonfile-1.0.0.tar.gz) = 14082
(-)b/net/py-anonfile/files/patch-setup.py (-31 / +30 lines)
Lines 1-33 Link Here
1
--- setup.py.orig	2023-06-16 04:37:29 UTC
1
--- setup.py.orig	2023-08-10 06:12:11 UTC
2
+++ setup.py
2
+++ setup.py
3
@@ -9,14 +9,6 @@ with open("src/anonfile/anonfile.py", encoding='utf-8'
3
@@ -9,14 +9,6 @@ with open("src/anonfile/anonfile.py", encoding='utf-8'
4
     python_major = int(re.search(r'python_major = "(.*?)"', lines).group(1))
4
     python_major = int(re.search(r'python_major = "(.*?)"', lines).group(1))
5
     python_minor = int(re.search(r'python_minor = "(.*?)"', lines).group(1))
5
     python_minor = int(re.search(r'python_minor = "(.*?)"', lines).group(1))
6
 
6
 
7
-print("reading dependency file")
7
-print("reading dependency file")
8
-
8
-
9
-with open("requirements/release.txt", mode='r', encoding='utf-8') as requirements:
9
-with open("requirements/release.txt", mode='r', encoding='utf-8') as requirements:
10
-    packages = requirements.read().splitlines()
10
-    packages = requirements.read().splitlines()
11
-
11
-
12
-with open("requirements/dev.txt", mode='r', encoding='utf-8') as requirements:
12
-with open("requirements/dev.txt", mode='r', encoding='utf-8') as requirements:
13
-    dev_packages = requirements.read().splitlines()
13
-    dev_packages = requirements.read().splitlines()
14
-
14
-
15
 print("reading readme file")
15
 print("reading readme file")
16
 
16
 
17
 with open("README.md", "r") as fh:
17
 with open("README.md", "r") as fh:
18
@@ -37,9 +29,13 @@ setup(
18
@@ -37,9 +29,12 @@ setup(
19
         'Changelog': "https://github.com/nstrydom2/anonfile-api/blob/master/CHANGELOG.md"
19
         'Changelog': "https://github.com/nstrydom2/anonfile-api/blob/master/CHANGELOG.md"
20
     },    
20
     },
21
     python_requires=">=%d.%d" % (python_major, python_minor),
21
     python_requires=">=%d.%d" % (python_major, python_minor),
22
-    install_requires=packages,
22
-    install_requires=packages,
23
+    install_requires=[
23
+    install_requires=[
24
+        "requests",
24
+        "requests",
25
+        "requests-toolbelt",
25
+        "requests-toolbelt",
26
+        "tqdm",
26
+        "tqdm"
27
+        "importlib-metadata"
27
+    ],
28
+    ],
28
     extra_requires={
29
     extra_requires={
29
-        'dev': dev_packages[1:],
30
-        'dev': dev_packages[1:],
30
         'test': ['pytest']
31
         'test': ['pytest']
31
     },
32
     },
32
     package_dir={'': 'src'},
33
     package_dir={'': 'src'},
(-)a/net/py-anonfile/files/patch-src_anonfile_anonfile.py (-13 lines)
Removed Link Here
1
--- src/anonfile/anonfile.py.orig	2023-06-16 05:34:29 UTC
2
+++ src/anonfile/anonfile.py
3
@@ -65,7 +65,8 @@ def get_config_dir() -> Path:
4
     return {
5
         'Windows': Path(os.path.expandvars('%LOCALAPPDATA%')),
6
         'Darwin': Path.home().joinpath('Library').joinpath('Application Support'),
7
-        'Linux': Path.home().joinpath('.config')
8
+        'Linux': Path.home().joinpath('.config'),
9
+        'FreeBSD': Path.home().joinpath('.config')
10
     }[platform.system()].joinpath(package_name)
11
 
12
 def get_logfile_path() -> Path:
13
- 

Return to bug 273038