aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-06-30 21:54:19 +0000
committerRene Ladan <rene@FreeBSD.org>2026-06-30 21:54:19 +0000
commit9b4f3ef2c0378b94244b6794c93dcff1f75d603e (patch)
tree843f32a2b32987f8a84cc80418afbfbc816f2194
parent55e42119b5a2d7d6a8d9306f040f1605b7a80e87 (diff)
devel/py-rauth: Remove expired port
2026-06-30 devel/py-rauth: No longer maintained upstream
-rw-r--r--MOVED1
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-rauth/Makefile28
-rw-r--r--devel/py-rauth/distinfo2
-rw-r--r--devel/py-rauth/files/patch-rauth__oauth.py29
-rw-r--r--devel/py-rauth/files/patch-setup.py34
-rw-r--r--devel/py-rauth/pkg-descr8
7 files changed, 1 insertions, 102 deletions
diff --git a/MOVED b/MOVED
index 4264178407e9..5c6477935517 100644
--- a/MOVED
+++ b/MOVED
@@ -5474,3 +5474,4 @@ net/frr8||2026-06-30|Has expired: No longer maintained
net-mgmt/arts++||2026-06-30|Has expired: deprecated by upstream, broken
textproc/redisearch20|textproc/redisearch22|2026-06-30|Has expired: Redisearch 2.0 is no longer maintained use textproc/redisearch22 instead
japanese/man-doc||2026-06-30|Has expired: Abandoned, this manual is over 20 years old
+devel/py-rauth||2026-06-30|Has expired: No longer maintained upstream
diff --git a/devel/Makefile b/devel/Makefile
index 20c7483f763f..9162e216c89f 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6033,7 +6033,6 @@
SUBDIR += py-rapidfuzz-capi
SUBDIR += py-ratelim
SUBDIR += py-ratelimiter
- SUBDIR += py-rauth
SUBDIR += py-raven
SUBDIR += py-rchitect
SUBDIR += py-re-assert
diff --git a/devel/py-rauth/Makefile b/devel/py-rauth/Makefile
deleted file mode 100644
index 441cc8a5ed68..000000000000
--- a/devel/py-rauth/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-PORTNAME= rauth
-PORTVERSION= 0.7.2
-PORTREVISION= 2
-CATEGORIES= devel www python
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= bofh@FreeBSD.org
-COMMENT= Python library for OAuth 1.0/a, 2.0, and Ofly consumers
-WWW= https://github.com/litl/rauth
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= No longer maintained upstream
-EXPIRATION_DATE= 2026-06-30
-
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.2.3:www/py-requests@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=1.0.1:devel/py-mock@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR}
-
-USES= python
-USE_GITHUB= yes
-GH_ACCOUNT= litl
-USE_PYTHON= autoplist distutils nose
-
-NO_ARCH= yes
-
-.include <bsd.port.mk>
diff --git a/devel/py-rauth/distinfo b/devel/py-rauth/distinfo
deleted file mode 100644
index bb76c6a46c41..000000000000
--- a/devel/py-rauth/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (litl-rauth-0.7.2_GH0.tar.gz) = 224dcc283c11b60a1cda0082836570338def1134a92b0d874046c3d0acb8d9aa
-SIZE (litl-rauth-0.7.2_GH0.tar.gz) = 34688
diff --git a/devel/py-rauth/files/patch-rauth__oauth.py b/devel/py-rauth/files/patch-rauth__oauth.py
deleted file mode 100644
index 9a829f92bf22..000000000000
--- a/devel/py-rauth/files/patch-rauth__oauth.py
+++ /dev/null
@@ -1,29 +0,0 @@
-commit 7fb3b7bf1a1869a52cf59ee3eb607d318e97265c
-Author: John W. O'Brien <john@saltant.com>
-Date: Mon Jul 27 14:56:02 2020 -0400
-
- Support PyCryptodome as alternative to PyCrypto
-
---- rauth/oauth.py.orig 2015-11-05 16:01:31 UTC
-+++ rauth/oauth.py
-@@ -171,7 +171,8 @@ class RsaSha1Signature(SignatureMethod):
- from Crypto.Signature import PKCS1_v1_5 as p
- self.RSA, self.SHA, self.PKCS1_v1_5 = r, s, p
- except ImportError: # pragma: no cover
-- raise NotImplementedError('PyCrypto is required for ' + self.NAME)
-+ raise NotImplementedError('PyCrypto(dome) is required for '
-+ + self.NAME)
-
- def sign(self,
- consumer_secret,
-@@ -208,7 +209,9 @@ class RsaSha1Signature(SignatureMethod):
- # resolve the key
- if is_basestring(consumer_secret):
- consumer_secret = self.RSA.importKey(consumer_secret)
-- if not isinstance(consumer_secret, self.RSA._RSAobj):
-+ valid_cls = (getattr(self.RSA, '_RSAobj', False)
-+ or getattr(self.RSA, 'RsaKey', False))
-+ if not (valid_cls and isinstance(consumer_secret, valid_cls)):
- raise ValueError('invalid consumer_secret')
-
- # hash the string with RSA-SHA1
diff --git a/devel/py-rauth/files/patch-setup.py b/devel/py-rauth/files/patch-setup.py
deleted file mode 100644
index 6594fc1996a5..000000000000
--- a/devel/py-rauth/files/patch-setup.py
+++ /dev/null
@@ -1,34 +0,0 @@
---- setup.py.orig 2015-11-05 16:01:31 UTC
-+++ setup.py
-@@ -20,14 +20,16 @@ about = {}
- with open('rauth/__about__.py') as f:
- exec(f.read(), about)
-
--if sys.argv[-1] == 'test':
-- status = os.system('make check')
-- status >>= 8
-- sys.exit(status)
--
- install_requires = ['requests>=1.2.3']
-+
-+tests_require = [
-+ 'nose',
-+ 'mock',
-+ 'pycryptodome',
-+]
-+
- if sys.version_info[0] == 2 and sys.version_info[1] < 7:
-- install_requires.append('unittest2>=0.5.1')
-+ tests_require = ['unittest2>=0.5.1']
-
- classifiers = ['Development Status :: 5 - Production/Stable',
- 'Intended Audience :: Developers',
-@@ -57,6 +59,8 @@ setup(name=about['__title__'],
- url='https://github.com/litl/rauth',
- packages=find_packages(),
- install_requires=install_requires,
-+ tests_require=tests_require,
-+ test_suite='nose.collector',
- license=about['__license__'],
- keywords='oauth oauth2 rauth requests',
- classifiers=classifiers,
diff --git a/devel/py-rauth/pkg-descr b/devel/py-rauth/pkg-descr
deleted file mode 100644
index 8e5c7000ff36..000000000000
--- a/devel/py-rauth/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-This package provides OAuth 1.0/a, 2.0, and Ofly consumer support. The
-package is wrapped around the superb Python Requests.
-
- * Supports OAuth 1.0/a, 2.0 and Ofly
- * Service wrappers for convenient connection initialization
- * Authenticated session objects providing nifty things like keep-alive
- * Well tested (100% coverage)
- * Built on Requests