cleanup: Remove expired ports:
2022-06-30 www/py-rackspace-monitoring: Python compatibility upto 3.2 and last release was 3 years ago 2022-06-30 devel/py-apns2: Use devel/py-aioapns 2022-06-30 www/py-hyper: Project abandoned use www/py-httpx 2022-06-30 irc/py-fishcrypt: Abandoned, unmaintained, requires Python 2 and depends on deprecated pycrypto 2022-06-30 devel/py-stsci.distutils: Upstream abandoned in 2013 2022-06-30 devel/py-docker-py: Use devel/py-docker 2022-06-30 net-im/py-slackclient: Use net-im/py-slack-sdk
This commit is contained in:
parent
94bc74e7e1
commit
fbefc97282
34 changed files with 7 additions and 587 deletions
7
MOVED
7
MOVED
|
@ -17397,3 +17397,10 @@ www/py-dj32-django-debug-toolbar|www/py-django-debug-toolbar|2022-06-30|Has expi
|
|||
www/py-dj32-django-redis|www/py-django-redis|2022-06-30|Has expired: Obsolete, please use www/py-django-redis instead
|
||||
www/py-dj32-django-timezone-field|www/py-django-timezone-field|2022-06-30|Has expired: Obsolete, please use www/py-django-timezone-field instead
|
||||
www/py-dj32-django-js-asset|www/py-django-js-asset|2022-06-30|Has expired: Obsolete, please use www/py-django-js-asset instead
|
||||
www/py-rackspace-monitoring||2022-06-30|Has expired: Python compatibility upto 3.2 and last release was 3 years ago
|
||||
devel/py-apns2|devel/py-aioapns|2022-06-30|Has expired: Use devel/py-aioapns
|
||||
www/py-hyper|www/py-httpx|2022-06-30|Has expired: Project abandoned use www/py-httpx
|
||||
irc/py-fishcrypt||2022-06-30|Has expired: Abandoned, unmaintained, requires Python 2 and depends on deprecated pycrypto
|
||||
devel/py-stsci.distutils||2022-06-30|Has expired: Upstream abandoned in 2013
|
||||
devel/py-docker-py|devel/py-docker|2022-06-30|Has expired: Use devel/py-docker
|
||||
net-im/py-slackclient|net-im/py-slack-sdk|2022-06-30|Has expired: Use net-im/py-slack-sdk
|
||||
|
|
|
@ -4116,7 +4116,6 @@
|
|||
SUBDIR += py-apache_conf_parser
|
||||
SUBDIR += py-apipkg
|
||||
SUBDIR += py-apispec
|
||||
SUBDIR += py-apns2
|
||||
SUBDIR += py-appdirs
|
||||
SUBDIR += py-applicationinsights
|
||||
SUBDIR += py-apptools
|
||||
|
@ -4436,7 +4435,6 @@
|
|||
SUBDIR += py-dj40-django-rq
|
||||
SUBDIR += py-dj40-graphene-django
|
||||
SUBDIR += py-django-rq
|
||||
SUBDIR += py-docker-py
|
||||
SUBDIR += py-dockerpty
|
||||
SUBDIR += py-docopt
|
||||
SUBDIR += py-doctest-ignore-unicode
|
||||
|
@ -5292,7 +5290,6 @@
|
|||
SUBDIR += py-stringbrewer
|
||||
SUBDIR += py-stringcase
|
||||
SUBDIR += py-structlog
|
||||
SUBDIR += py-stsci.distutils
|
||||
SUBDIR += py-subprocess-tee
|
||||
SUBDIR += py-subversion
|
||||
SUBDIR += py-sure
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
PORTNAME= apns2
|
||||
PORTVERSION= 0.3.0
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= olgeni@FreeBSD.org
|
||||
|
||||
COMMENT= Python client for Apple Push Notification service
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
DEPRECATED= Use devel/py-aioapns
|
||||
EXPIRATION_DATE= 2022-06-30
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}hyper>0:www/py-hyper@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pyjwt>=1.4.0:www/py-pyjwt@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= distutils autoplist
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,3 +0,0 @@
|
|||
TIMESTAMP = 1513941333
|
||||
SHA256 (apns2-0.3.0.tar.gz) = a24052d8251b423f2224effb0891bdba217c92fe9d6d18c7f5b86099bd083c08
|
||||
SIZE (apns2-0.3.0.tar.gz) = 8878
|
|
@ -1,4 +0,0 @@
|
|||
Python library for interacting with the Apple Push Notification
|
||||
service (APNs) via HTTP/2 protocol.
|
||||
|
||||
WWW: https://github.com/Pr0Ger/PyAPNs2
|
|
@ -1,23 +0,0 @@
|
|||
PORTNAME= docker-py
|
||||
PORTVERSION= 1.10.6
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= API client for docker written in Python
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
DEPRECATED= Use devel/py-docker
|
||||
EXPIRATION_DATE= 2022-06-30
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docker-pycreds>=0.2.1:security/py-docker-pycreds@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>=2.5.2:www/py-requests@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}websocket-client>=0.32.0:www/py-websocket-client@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,3 +0,0 @@
|
|||
TIMESTAMP = 1655411611
|
||||
SHA256 (docker-py-1.10.6.tar.gz) = 4c2a75875764d38d67f87bc7d03f7443a3895704efc57962bdf6500b8d4bc415
|
||||
SIZE (docker-py-1.10.6.tar.gz) = 84129
|
|
@ -1,5 +0,0 @@
|
|||
A Python library for the Docker Remote API. It does everything the docker
|
||||
command does, but from within Python: run containers, manage them, pull/push
|
||||
images, etc.
|
||||
|
||||
WWW: https://github.com/docker/docker-py
|
|
@ -1,23 +0,0 @@
|
|||
# Created by: William Grzybowski <wg@FreeBSD.org>
|
||||
|
||||
PORTNAME= stsci.distutils
|
||||
PORTVERSION= 0.3.7
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Packaging utilities used by some of STScI's packages
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
DEPRECATED= Upstream abandoned in 2013
|
||||
EXPIRATION_DATE= 2022-06-30
|
||||
BROKEN= requires python setuptools<58.0.0
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}d2to1>0:devel/py-d2to1@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (stsci.distutils-0.3.7.tar.gz) = e0f115126ec1e27b345e338ce9cbca0fe87cd30e409e052acccfea05a9e9783c
|
||||
SIZE (stsci.distutils-0.3.7.tar.gz) = 48831
|
|
@ -1,144 +0,0 @@
|
|||
--- stsci/distutils/command/build_optional_ext.py.orig 2013-12-23 23:22:38 UTC
|
||||
+++ stsci/distutils/command/build_optional_ext.py
|
||||
@@ -3,7 +3,7 @@ from distutils.command.build_ext import build_ext
|
||||
from distutils.errors import DistutilsError, CCompilerError, CompileError
|
||||
from distutils.util import strtobool
|
||||
|
||||
-from ConfigParser import ConfigParser
|
||||
+from configparser import ConfigParser
|
||||
|
||||
|
||||
class build_optional_ext(build_ext):
|
||||
@@ -33,7 +33,7 @@ class build_optional_ext(build_ext):
|
||||
cfg = ConfigParser()
|
||||
try:
|
||||
cfg.read('setup.cfg')
|
||||
- except Exception, e:
|
||||
+ except Exception as e:
|
||||
log.warn('Failed to read setup.cfg: %s; proceeding as though '
|
||||
'there are no optional extensions' % e)
|
||||
return
|
||||
@@ -75,7 +75,7 @@ class build_optional_ext(build_ext):
|
||||
def build_extension(self, ext):
|
||||
try:
|
||||
build_ext.build_extension(self, ext)
|
||||
- except (CCompilerError, DistutilsError, CompileError), e:
|
||||
+ except (CCompilerError, DistutilsError, CompileError) as e:
|
||||
if not hasattr(ext, '_optional') or not ext._optional:
|
||||
raise
|
||||
log.warn('building optional extension "%s" failed: %s' %
|
||||
--- stsci/distutils/release.py.orig 2013-12-23 23:22:38 UTC
|
||||
+++ stsci/distutils/release.py
|
||||
@@ -6,7 +6,7 @@ import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
-from ConfigParser import ConfigParser
|
||||
+from configparser import ConfigParser
|
||||
|
||||
from setuptools.dist import Distribution
|
||||
from zest.releaser.utils import ask
|
||||
@@ -105,7 +105,7 @@ def add_to_stsci_package_index(data):
|
||||
answer = ''
|
||||
while not answer:
|
||||
try:
|
||||
- answer = raw_input(question).strip()
|
||||
+ answer = input(question).strip()
|
||||
if not answer:
|
||||
if package_path:
|
||||
# The user simple pressed enter, so use the supplied
|
||||
@@ -114,13 +114,13 @@ def add_to_stsci_package_index(data):
|
||||
else:
|
||||
continue
|
||||
if not os.path.exists(answer):
|
||||
- print ('The supplied path %s does not exist. Please enter a '
|
||||
- 'different path or press Ctrl-C to cancel.' % answer)
|
||||
+ print(('The supplied path %s does not exist. Please enter a '
|
||||
+ 'different path or press Ctrl-C to cancel.' % answer))
|
||||
if not os.access(answer, os.W_OK):
|
||||
- print ('The supplied path %s is not writeable. Either change '
|
||||
+ print(('The supplied path %s is not writeable. Either change '
|
||||
'the permissions of the directory or have someone '
|
||||
'grant you access and try again, enter a different '
|
||||
- 'directory, or press Ctrl-C to cancel.' % answer)
|
||||
+ 'directory, or press Ctrl-C to cancel.' % answer))
|
||||
package_path = answer
|
||||
break
|
||||
# The default was not supplied, so keep asking
|
||||
@@ -141,15 +141,15 @@ def add_to_stsci_package_index(data):
|
||||
'*.zip'))[0]
|
||||
except IndexError:
|
||||
try:
|
||||
- print (
|
||||
+ print((
|
||||
"Could not find a source distribution in %s; did you "
|
||||
"do a source checkout for upload? If possible, try "
|
||||
"to cd to %s and manually create a source "
|
||||
"distribution by running `python setup.py sdist`. "
|
||||
"Then press enter to try again (or hit Ctrl-C to "
|
||||
"cancel). Go ahead, I'll wait..." %
|
||||
- (data['tagdir'], data['tagdir']))
|
||||
- raw_input()
|
||||
+ (data['tagdir'], data['tagdir'])))
|
||||
+ input()
|
||||
except KeyboardInterrupt:
|
||||
return
|
||||
|
||||
@@ -166,12 +166,12 @@ def add_to_stsci_package_index(data):
|
||||
dist.fetch_build_eggs(['basketweaver'])
|
||||
except:
|
||||
# There are so many things that could possibly go wrong here...
|
||||
- print ('Failed to get basketweaver, which is required to rebuild '
|
||||
+ print(('Failed to get basketweaver, which is required to rebuild '
|
||||
'the package index. To manually complete the release, '
|
||||
'install basketweaver manually, then copy %s into %s, cd '
|
||||
'to %s, and then run `makeindex *`, where makeindex is the '
|
||||
'command installed by basketweaver.' %
|
||||
- (sdist_file, package_path, package_path))
|
||||
+ (sdist_file, package_path, package_path)))
|
||||
import basketweaver.makeindex
|
||||
|
||||
# Now we should have everything we need...
|
||||
@@ -183,4 +183,4 @@ def add_to_stsci_package_index(data):
|
||||
finally:
|
||||
os.chdir(old_cwd)
|
||||
|
||||
- print 'Finished adding package to %s.' % PACKAGE_INDEX_URL
|
||||
+ print('Finished adding package to %s.' % PACKAGE_INDEX_URL)
|
||||
--- stsci/distutils/tests/__init__.py.orig 2013-12-23 23:22:38 UTC
|
||||
+++ stsci/distutils/tests/__init__.py
|
||||
@@ -7,6 +7,7 @@ import tempfile
|
||||
import nose
|
||||
|
||||
from .util import reload, rmtree
|
||||
+import importlib
|
||||
|
||||
|
||||
TESTPACKAGE_URL = ('https://svn.stsci.edu/svn/ssb/stsci_python/'
|
||||
@@ -24,7 +25,7 @@ class StsciDistutilsTestCase(object):
|
||||
'checkout', TESTPACKAGE_URL, cls.wc_dir],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE)
|
||||
- except OSError, e:
|
||||
+ except OSError as e:
|
||||
raise nose.SkipTest('svn unavailable to checkout out test '
|
||||
'package: %s' % e)
|
||||
|
||||
@@ -48,7 +49,7 @@ class StsciDistutilsTestCase(object):
|
||||
# package's __path__ since it's already been imported.
|
||||
if 'stsci' in sys.modules:
|
||||
# Clean the existing __path__ up
|
||||
- reload(sys.modules['stsci'])
|
||||
+ importlib.reload(sys.modules['stsci'])
|
||||
sys.modules['stsci'].__path__.insert(
|
||||
0, os.path.join(self.package_dir, 'stsci'))
|
||||
|
||||
--- stsci/distutils/tests/testpackage/setup.py.orig 2013-12-23 23:22:38 UTC
|
||||
+++ stsci/distutils/tests/testpackage/setup.py
|
||||
@@ -12,6 +12,5 @@ setup(
|
||||
namespace_packages=['stsci'], packages=['stsci'],
|
||||
dependency_links=['http://stsdas.stsci.edu/download/packages'],
|
||||
d2to1=True,
|
||||
- use_2to3=True,
|
||||
zip_safe=False,
|
||||
)
|
|
@ -1,11 +0,0 @@
|
|||
This package contains utilities used to package some of STScI's Python
|
||||
projects, specifically those projects that comprise stsci_python and Astrolib.
|
||||
|
||||
It currently consists mostly of some setup_hook scripts meant for use with
|
||||
distutils2/packaging and/or d2to1, and a customized easy_install command meant
|
||||
for use with distribute.
|
||||
|
||||
This package is not meant for general consumption, though it might be worth
|
||||
looking at for examples of how to do certain things with your own packages.
|
||||
|
||||
WWW: http://www.stsci.edu/institute/software_hardware/pyraf/stsci_python
|
|
@ -83,7 +83,6 @@
|
|||
SUBDIR += pisg
|
||||
SUBDIR += polari
|
||||
SUBDIR += pounce
|
||||
SUBDIR += py-fishcrypt
|
||||
SUBDIR += py-irc
|
||||
SUBDIR += py-limnoria
|
||||
SUBDIR += quassel
|
||||
|
|
|
@ -1,52 +0,0 @@
|
|||
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
||||
|
||||
PORTNAME= fishcrypt
|
||||
DISTVERSION= 5.31
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= irc security
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DIST_SUBDIR= python
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= FiSH/Mircryption-compatible encryption for HexChat
|
||||
|
||||
BROKEN= Requires python 2
|
||||
DEPRECATED= Abandoned, unmaintained, requires Python 2 and depends on deprecated pycrypto
|
||||
EXPIRATION_DATE=2022-06-30
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pysocks>=0:net/py-pysocks@${PY_FLAVOR}
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= fladd
|
||||
GH_PROJECT= py-${PORTNAME}
|
||||
GH_TAGNAME= 43554b1a
|
||||
|
||||
USES= dos2unix python:3.6+,run shebangfix
|
||||
USE_PYTHON= flavors
|
||||
SHEBANG_FILES= fishcrypt.py
|
||||
NO_BUILD= yes
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
PORTDOCS= README.md
|
||||
|
||||
PLIST_FILES= %%DATADIR%%/fishcrypt.py \
|
||||
%%DATADIR%%/pyBlowfish.py
|
||||
|
||||
OPTIONS_DEFINE= DOCS HEXCHAT
|
||||
|
||||
HEXCHAT_DESC= FiSH encryption for HexChat
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
HEXCHAT_RUN_DEPENDS= hexchat:irc/hexchat
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${STAGEDIR}${DATADIR}
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (python/fladd-py-fishcrypt-5.31-43554b1a_GH0.tar.gz) = 8e361a83b145d67fb53969d3f0255bfd05523c044c1438fac5d310eb14c8cf6e
|
||||
SIZE (python/fladd-py-fishcrypt-5.31-43554b1a_GH0.tar.gz) = 29595
|
|
@ -1,15 +0,0 @@
|
|||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
py-fishcrypt has been installed.
|
||||
|
||||
To make FiSH work with py-fishcrypt please do symlink as user
|
||||
|
||||
su user
|
||||
|
||||
For HexChat
|
||||
|
||||
ln -sf %%DATADIR%%/fishcrypt.py ~/.config/hexchat/addons/
|
||||
EOM
|
||||
}
|
||||
]
|
|
@ -1,8 +0,0 @@
|
|||
FiSH/Mircryption-compatible encryption for XChat/HexChat.
|
||||
|
||||
Encrypt/decrypt private conversations
|
||||
Encrypt/decrypt channel conversations
|
||||
Choose between ECB and CBC
|
||||
Automatic DH key exchange (private conversations only)
|
||||
|
||||
WWW: https://github.com/fladd/py-fishcrypt
|
|
@ -126,7 +126,6 @@
|
|||
SUBDIR += py-punjab
|
||||
SUBDIR += py-python-telegram-bot
|
||||
SUBDIR += py-slack-sdk
|
||||
SUBDIR += py-slackclient
|
||||
SUBDIR += py-slixmpp
|
||||
SUBDIR += py-telepot
|
||||
SUBDIR += py-toxcore-c
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
||||
|
||||
PORTNAME= slackclient
|
||||
PORTVERSION= 2.9.4
|
||||
CATEGORIES= net-im python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Slack API clients for Web API and RTM API
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
DEPRECATED= Use net-im/py-slack-sdk
|
||||
EXPIRATION_DATE= 2022-06-30
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.7.3:www/py-aiohttp@${PY_FLAVOR}
|
||||
#TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= ASYNCDNS
|
||||
OPTIONS_DEFAULT= ASYNCDNS
|
||||
|
||||
ASYNCDNS_DESC= Asyncronous DNS support
|
||||
|
||||
ASYNCDNS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiodns>1.0:dns/py-aiodns@${PY_FLAVOR}
|
||||
|
||||
# slackclient has been moved to slack-sdk and GH repo is unavailable
|
||||
# do-test:
|
||||
# @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,3 +0,0 @@
|
|||
TIMESTAMP = 1650731554
|
||||
SHA256 (slackclient-2.9.4.tar.gz) = ab79fefb5412d0595bc01d2f195a787597f2a617b6766562932ab9ffbe5cb173
|
||||
SIZE (slackclient-2.9.4.tar.gz) = 89588
|
|
@ -1,4 +0,0 @@
|
|||
A basic client for Slack.com, which can optionally connect to the Slack
|
||||
Real Time Messaging (RTM) API.
|
||||
|
||||
WWW: https://github.com/slackapi/python-slackclient
|
|
@ -1660,7 +1660,6 @@
|
|||
SUBDIR += py-httpx-oauth
|
||||
SUBDIR += py-httpx-socks
|
||||
SUBDIR += py-httpx013
|
||||
SUBDIR += py-hyper
|
||||
SUBDIR += py-hypercorn
|
||||
SUBDIR += py-hyperframe
|
||||
SUBDIR += py-hyperlink
|
||||
|
@ -1712,7 +1711,6 @@
|
|||
SUBDIR += py-pywikibot
|
||||
SUBDIR += py-qt5-webengine
|
||||
SUBDIR += py-quilt3
|
||||
SUBDIR += py-rackspace-monitoring
|
||||
SUBDIR += py-recaptcha
|
||||
SUBDIR += py-requests
|
||||
SUBDIR += py-requests-aws4auth
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
||||
|
||||
PORTNAME= hyper
|
||||
DISTVERSION= 0.8.0.g20210112
|
||||
CATEGORIES= www python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= HTTP/2 Client for Python
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
DEPRECATED= Project abandoned use www/py-httpx
|
||||
EXPIRATION_DATE= 2022-06-30
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotlipy>=0.7.0:archivers/py-brotlipy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}h2>=2.4:www/py-h2@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}hyperframe>=3.2:www/py-hyperframe@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}rfc3986>=1.1.0:www/py-rfc3986@${PY_FLAVOR}
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hpack>0:www/py-hpack@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
|
||||
|
||||
USES= cpe python:3.6+
|
||||
CPE_VENDOR= python
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= python-hyper
|
||||
GH_TAGNAME= b77e758
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -k 'not test_HTTPConnection_with_custom_context' test
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,3 +0,0 @@
|
|||
TIMESTAMP = 1647086339
|
||||
SHA256 (python-hyper-hyper-0.8.0.g20210112-b77e758_GH0.tar.gz) = 2e589d9a0614a77315e8a85ff3b88a8cc0758d6e3cb5bff4ad58e680d62b76de
|
||||
SIZE (python-hyper-hyper-0.8.0.g20210112-b77e758_GH0.tar.gz) = 402934
|
|
@ -1,22 +0,0 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIDqDCCAxGgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBgTELMAkGA1UEBhMCRkkx
|
||||
DjAMBgNVBAgTBWR1bW15MQ4wDAYDVQQHEwVkdW1teTEOMAwGA1UEChMFZHVtbXkx
|
||||
DjAMBgNVBAsTBWR1bW15MREwDwYDVQQDEwhTbmFrZU9pbDEfMB0GCSqGSIb3DQEJ
|
||||
ARYQZHVtbXlAdGVzdC5sb2NhbDAeFw0xMTEyMjIwNzU4NDBaFw0yMTEyMTgwNzU4
|
||||
NDBaMGExCzAJBgNVBAYTAkZJMQ4wDAYDVQQIEwVkdW1teTEOMAwGA1UEBxMFZHVt
|
||||
bXkxDjAMBgNVBAoTBWR1bW15MQ4wDAYDVQQLEwVkdW1teTESMBAGA1UEAxMJbG9j
|
||||
YWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDXe3FqmCWvP8XPxqtT
|
||||
+0bfL1Tvzvebi46k0WIcUV8bP3vyYiSRXG9ALmyzZH4GHY9UVs4OEDkCMDOBSezB
|
||||
0y9ai/9doTNcaictdEBu8nfdXKoTtzrn+VX4UPrkH5hm7NQ1fTQuj1MR7yBCmYqN
|
||||
3Q2Q+Efuujyx0FwBzAuy1aKYuwIDAQABo4IBTTCCAUkwCQYDVR0TBAIwADARBglg
|
||||
hkgBhvhCAQEEBAMCBkAwKwYJYIZIAYb4QgENBB4WHFRpbnlDQSBHZW5lcmF0ZWQg
|
||||
Q2VydGlmaWNhdGUwHQYDVR0OBBYEFBvnSuVKLNPEFMAFqHw292vGHGJSMIG2BgNV
|
||||
HSMEga4wgauAFBl3fyNiYkJZRft1ncdzcgS7MwotoYGHpIGEMIGBMQswCQYDVQQG
|
||||
EwJGSTEOMAwGA1UECBMFZHVtbXkxDjAMBgNVBAcTBWR1bW15MQ4wDAYDVQQKEwVk
|
||||
dW1teTEOMAwGA1UECxMFZHVtbXkxETAPBgNVBAMTCFNuYWtlT2lsMR8wHQYJKoZI
|
||||
hvcNAQkBFhBkdW1teUB0ZXN0LmxvY2FsggkAs+uxyi/hv+MwCQYDVR0SBAIwADAZ
|
||||
BgNVHREEEjAQgQ5yb290QGxvY2FsaG9zdDANBgkqhkiG9w0BAQUFAAOBgQBXdedG
|
||||
XHLPmOVBeKWjTmaekcaQi44snhYqE1uXRoIQXQsyw+Ya5+n/uRxPKZO/C78EESL0
|
||||
8rnLTdZXm4GBYyHYmMy0AdWR7y030viOzAkWWRRRbuecsaUzFCI+F9jTV5LHuRzz
|
||||
V8fUKwiEE9swzkWgMpfVTPFuPgzxwG9gMbrBfg==
|
||||
-----END CERTIFICATE-----
|
|
@ -1,15 +0,0 @@
|
|||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIICXgIBAAKBgQDXe3FqmCWvP8XPxqtT+0bfL1Tvzvebi46k0WIcUV8bP3vyYiSR
|
||||
XG9ALmyzZH4GHY9UVs4OEDkCMDOBSezB0y9ai/9doTNcaictdEBu8nfdXKoTtzrn
|
||||
+VX4UPrkH5hm7NQ1fTQuj1MR7yBCmYqN3Q2Q+Efuujyx0FwBzAuy1aKYuwIDAQAB
|
||||
AoGBANOGBM6bbhq7ImYU4qf8+RQrdVg2tc9Fzo+yTnn30sF/rx8/AiCDOV4qdGAh
|
||||
HKjKKaGj2H/rotqoEFcxBy05LrgJXxydBP72e9PYhNgKOcSmCQu4yALIPEXfKuIM
|
||||
zgAErHVJ2l79fif3D4hzNyz+u5E1A9n3FG9cgaJSiYP8IG2RAkEA82GZ8rBkSGQQ
|
||||
ZQ3oFuzPAAL21lbj8D0p76fsCpvS7427DtZDOjhOIKZmaeykpv+qSzRraqEqjDRi
|
||||
S4kjQvwh6QJBAOKniZ+NDo2lSpbOFk+XlmABK1DormVpj8KebHEZYok1lRI+WiX9
|
||||
Nnoe9YLgix7++6H5SBBCcTB4HvM+5A4BuwMCQQChcX/eZbXP81iQwB3Rfzp8xnqY
|
||||
icDf7qKvz9Ma4myU7Y5E9EpaB1mD/P14jDpYcMW050vNyqTfpiwB8TFL0NZpAkEA
|
||||
02jkFH9UyMgZV6qo4tqI98l/ZrtyF8OrxSNSEPhVkZf6EQc5vN9/lc8Uv1vESEgb
|
||||
3AwRrKDcxRH2BHtv6qSwkwJAGjqnkIcEkA75r1e55/EF2chcZW1+tpwKupE8CtAH
|
||||
VXGd5DVwt4cYWkLUj2gF2fJbV97uu2MAg5CFDb+vQ6p5eA==
|
||||
-----END RSA PRIVATE KEY-----
|
|
@ -1,32 +0,0 @@
|
|||
# HTTP20Connection: Fix use of ENABLE_PUSH
|
||||
# https://github.com/Lukasa/hyper/pull/402
|
||||
|
||||
--- hyper/http20/connection.py.orig 2019-05-17 10:15:20 UTC
|
||||
+++ hyper/http20/connection.py
|
||||
@@ -7,7 +7,7 @@ Objects that build hyper's connection-level HTTP/2 abs
|
||||
"""
|
||||
import h2.connection
|
||||
import h2.events
|
||||
-import h2.settings
|
||||
+from h2.settings import SettingCodes
|
||||
|
||||
from ..compat import ssl
|
||||
from ..tls import wrap_socket, H2_NPN_PROTOCOLS, H2C_PROTOCOL
|
||||
@@ -403,7 +403,7 @@ class HTTP20Connection(object):
|
||||
with self._conn as conn:
|
||||
conn.initiate_upgrade_connection()
|
||||
conn.update_settings(
|
||||
- {h2.settings.ENABLE_PUSH: int(self._enable_push)}
|
||||
+ {SettingCodes.ENABLE_PUSH: int(self._enable_push)}
|
||||
)
|
||||
self._send_outstanding_data()
|
||||
|
||||
@@ -424,7 +424,7 @@ class HTTP20Connection(object):
|
||||
with self._conn as conn:
|
||||
conn.initiate_connection()
|
||||
conn.update_settings(
|
||||
- {h2.settings.ENABLE_PUSH: int(self._enable_push)}
|
||||
+ {SettingCodes.ENABLE_PUSH: int(self._enable_push)}
|
||||
)
|
||||
self._send_outstanding_data()
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- setup.py.orig 2019-05-17 11:59:54 UTC
|
||||
+++ setup.py
|
||||
@@ -77,7 +77,7 @@ setup(
|
||||
'Programming Language :: Python :: Implementation :: CPython',
|
||||
],
|
||||
install_requires=[
|
||||
- 'h2>=2.4,<3.0,!=2.5.0', 'hyperframe>=3.2,<4.0', 'rfc3986>=1.1.0,<2.0', 'brotlipy>=0.7.0,<1.0'
|
||||
+ 'h2>=2.4,!=2.5.0', 'hyperframe>=3.2', 'rfc3986>=1.1.0,<2.0', 'brotlipy>=0.7.0,<1.0'
|
||||
],
|
||||
tests_require=['pytest', 'requests', 'mock'],
|
||||
cmdclass={'test': PyTest},
|
|
@ -1,35 +0,0 @@
|
|||
# Fix use of h2.settings -> h2.settings.SettingCodes.* Based on:
|
||||
# HTTP20Connection: Fix use of ENABLE_PUSH
|
||||
# https://github.com/Lukasa/hyper/pull/402
|
||||
|
||||
# Fix hpack import (hpack_compat is gone now)
|
||||
# https://github.com/python-hyper/hpack/pull/60
|
||||
|
||||
--- test/test_hyper.py.orig 2019-05-17 10:17:07 UTC
|
||||
+++ test/test_hyper.py
|
||||
@@ -1,14 +1,13 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
-import h2.settings
|
||||
-
|
||||
from h2.frame_buffer import FrameBuffer
|
||||
from h2.connection import ConnectionState
|
||||
+from h2.settings import SettingCodes
|
||||
from hyperframe.frame import (
|
||||
Frame, DataFrame, RstStreamFrame, SettingsFrame, PushPromiseFrame,
|
||||
WindowUpdateFrame, HeadersFrame, ContinuationFrame, GoAwayFrame,
|
||||
PingFrame, FRAME_MAX_ALLOWED_LEN
|
||||
)
|
||||
-from hpack.hpack_compat import Encoder
|
||||
+from hpack import Encoder
|
||||
from hyper.common.connection import HTTPConnection
|
||||
from hyper.http20.connection import HTTP20Connection
|
||||
from hyper.http20.response import HTTP20Response, HTTP20Push
|
||||
@@ -766,7 +765,7 @@ class TestHyperConnection(object):
|
||||
# the default max frame size (16,384 bytes). That will, on the third
|
||||
# frame, trigger the processing to increment the flow control window,
|
||||
# which should then not happen.
|
||||
- f = SettingsFrame(0, settings={h2.settings.INITIAL_WINDOW_SIZE: 100})
|
||||
+ f = SettingsFrame(0, settings={SettingCodes.INITIAL_WINDOW_SIZE: 100})
|
||||
|
||||
c = HTTP20Connection('www.google.com')
|
||||
c._sock = DummySocket()
|
|
@ -1,11 +0,0 @@
|
|||
HTTP is changing under our feet. HTTP/1.1, our old friend, is being
|
||||
supplemented by the brand new HTTP/2 standard. HTTP/2 provides many
|
||||
benefits: improved speed, lower bandwidth usage, better connection
|
||||
management, and more.
|
||||
|
||||
hyper supports the final draft of the HTTP/2 specification:
|
||||
additionally, it provides support for drafts 14, 15, and 16 of the
|
||||
HTTP/2 specification. It also supports the final draft of the HPACK
|
||||
specification
|
||||
|
||||
WWW: https://hyper.readthedocs.org
|
|
@ -1,30 +0,0 @@
|
|||
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
||||
|
||||
PORTNAME= rackspace-monitoring
|
||||
PORTVERSION= 0.8.1
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Python client library for Rackspace Cloud Monitoring
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
DEPRECATED= Python compatibility upto 3.2 and last release was 3 years ago
|
||||
EXPIRATION_DATE= 2022-06-30
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libcloud>=0.17:net/py-libcloud@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && \
|
||||
${CP} test/secrets.py-dist test/secrets.py && \
|
||||
${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
||||
|
||||
.include <bsd.port.mk>
|
|
@ -1,3 +0,0 @@
|
|||
TIMESTAMP = 1646761209
|
||||
SHA256 (rackspace-monitoring-0.8.1.tar.gz) = b055b6574447b69f87bb47a96cd5a91635cc2ec2c6b2154f435c2eedcd018007
|
||||
SIZE (rackspace-monitoring-0.8.1.tar.gz) = 33118
|
|
@ -1,11 +0,0 @@
|
|||
--- setup.py.orig 2018-08-13 13:22:29 UTC
|
||||
+++ setup.py
|
||||
@@ -171,7 +171,7 @@ setup(
|
||||
description='Client library for Rackspace Cloud Monitoring',
|
||||
author='Rackspace, Inc.',
|
||||
author_email='monitoring@rackspace.com',
|
||||
- install_requires=['apache-libcloud >= 0.17,<2.0',
|
||||
+ install_requires=['apache-libcloud >= 0.17',
|
||||
'backports.ssl_match_hostname'],
|
||||
packages=[
|
||||
'rackspace_monitoring',
|
|
@ -1,4 +0,0 @@
|
|||
rackspace-monitoring is a Python client library for Rackspace Cloud Monitoring
|
||||
built on top of Apache Libcloud.
|
||||
|
||||
WWW: https://github.com/racker/rackspace-monitoring
|
Loading…
Reference in a new issue