pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net py-pypiserver: added version 1.3.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/991ae017e2a5
branches: trunk
changeset: 396364:991ae017e2a5
user: adam <adam%pkgsrc.org@localhost>
date: Wed May 29 20:13:09 2019 +0000
description:
py-pypiserver: added version 1.3.0
pypiserver is a minimal PyPI compatible server for pip or easy_install. It is
based on bottle and serves packages from regular directories. Wheels, bdists,
eggs and accompanying PGP-signatures can be uploaded either with pip,
setuptools, twine, pypi-uploader, or simply copied with scp.
diffstat:
net/Makefile | 3 +-
net/py-pypiserver/ALTERNATIVES | 1 +
net/py-pypiserver/DESCR | 4 +++
net/py-pypiserver/Makefile | 34 ++++++++++++++++++++++++++++++++
net/py-pypiserver/PLIST | 31 +++++++++++++++++++++++++++++
net/py-pypiserver/distinfo | 7 ++++++
net/py-pypiserver/patches/patch-setup.py | 15 ++++++++++++++
7 files changed, 94 insertions(+), 1 deletions(-)
diffs (133 lines):
diff -r 9317db4f7304 -r 991ae017e2a5 net/Makefile
--- a/net/Makefile Wed May 29 19:58:28 2019 +0000
+++ b/net/Makefile Wed May 29 20:13:09 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1249 2019/04/30 03:54:42 taca Exp $
+# $NetBSD: Makefile,v 1.1250 2019/05/29 20:13:09 adam Exp $
#
COMMENT= Networking tools
@@ -701,6 +701,7 @@
SUBDIR+= py-pydns
SUBDIR+= py-pyftpdlib
SUBDIR+= py-pylint-celery
+SUBDIR+= py-pypiserver
SUBDIR+= py-pysendfile
SUBDIR+= py-requestbuilder
SUBDIR+= py-responses
diff -r 9317db4f7304 -r 991ae017e2a5 net/py-pypiserver/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-pypiserver/ALTERNATIVES Wed May 29 20:13:09 2019 +0000
@@ -0,0 +1,1 @@
+bin/pypi-server @PREFIX@/bin/pypi-server-@PYVERSSUFFIX@
diff -r 9317db4f7304 -r 991ae017e2a5 net/py-pypiserver/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-pypiserver/DESCR Wed May 29 20:13:09 2019 +0000
@@ -0,0 +1,4 @@
+pypiserver is a minimal PyPI compatible server for pip or easy_install. It is
+based on bottle and serves packages from regular directories. Wheels, bdists,
+eggs and accompanying PGP-signatures can be uploaded either with pip,
+setuptools, twine, pypi-uploader, or simply copied with scp.
diff -r 9317db4f7304 -r 991ae017e2a5 net/py-pypiserver/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-pypiserver/Makefile Wed May 29 20:13:09 2019 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2019/05/29 20:13:09 adam Exp $
+
+DISTNAME= pypiserver-1.3.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pypiserver/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/pypiserver/pypiserver
+COMMENT= Minimal PyPI server for use with pip/easy_install
+LICENSE= modified-bsd
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.25.0:../../devel/py-wheel
+DEPENDS+= ${PYPKGPREFIX}-passlib>=1.6:../../security/py-passlib
+DEPENDS+= ${PYPKGPREFIX}-watchdog-[0-9]*:../../sysutils/py-watchdog
+TEST_DEPENDS+= ${PYPKGPREFIX}-WebTest-[0-9]*:../../www/py-WebTest
+TEST_DEPENDS+= ${PYPKGPREFIX}-pip>=7:../../devel/py-pip
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.3:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
+TEST_DEPENDS+= ${PYPKGPREFIX}-twine-[0-9]*:../../net/py-twine
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+.endif
+
+USE_LANGUAGES= # none
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} pypi-server pypi-server-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 9317db4f7304 -r 991ae017e2a5 net/py-pypiserver/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-pypiserver/PLIST Wed May 29 20:13:09 2019 +0000
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1 2019/05/29 20:13:09 adam Exp $
+bin/pypi-server-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/pypiserver/__init__.py
+${PYSITELIB}/pypiserver/__init__.pyc
+${PYSITELIB}/pypiserver/__init__.pyo
+${PYSITELIB}/pypiserver/__main__.py
+${PYSITELIB}/pypiserver/__main__.pyc
+${PYSITELIB}/pypiserver/__main__.pyo
+${PYSITELIB}/pypiserver/_app.py
+${PYSITELIB}/pypiserver/_app.pyc
+${PYSITELIB}/pypiserver/_app.pyo
+${PYSITELIB}/pypiserver/bottle.py
+${PYSITELIB}/pypiserver/bottle.pyc
+${PYSITELIB}/pypiserver/bottle.pyo
+${PYSITELIB}/pypiserver/cache.py
+${PYSITELIB}/pypiserver/cache.pyc
+${PYSITELIB}/pypiserver/cache.pyo
+${PYSITELIB}/pypiserver/core.py
+${PYSITELIB}/pypiserver/core.pyc
+${PYSITELIB}/pypiserver/core.pyo
+${PYSITELIB}/pypiserver/manage.py
+${PYSITELIB}/pypiserver/manage.pyc
+${PYSITELIB}/pypiserver/manage.pyo
+${PYSITELIB}/pypiserver/welcome.html
diff -r 9317db4f7304 -r 991ae017e2a5 net/py-pypiserver/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-pypiserver/distinfo Wed May 29 20:13:09 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/05/29 20:13:09 adam Exp $
+
+SHA1 (pypiserver-1.3.0.zip) = ebd3463c38d2c78f8b1d7df42da0c36bf7f3de7b
+RMD160 (pypiserver-1.3.0.zip) = 328633a627aba4044a411935da71ffaddd182d07
+SHA512 (pypiserver-1.3.0.zip) = 83fd51ae0123b6b93430cc59136ff2f85cd57fb5e9c1baa671d8d16f7889eaec8ddfa1a1b6ba2fb68d1a827a0537ef8316a6a0e508a6ecb90e2c443336e488b4
+Size (pypiserver-1.3.0.zip) = 538529 bytes
+SHA1 (patch-setup.py) = 55a56372bbf0814f0249abddeb459cd5f36d3a19
diff -r 9317db4f7304 -r 991ae017e2a5 net/py-pypiserver/patches/patch-setup.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/py-pypiserver/patches/patch-setup.py Wed May 29 20:13:09 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2019/05/29 20:13:09 adam Exp $
+
+Do not require setuptools-git for building.
+
+--- setup.py.orig 2019-03-10 15:33:57.000000000 +0000
++++ setup.py
+@@ -14,7 +14,7 @@ tests_require = ['pytest>=2.3', 'tox', '
+ if sys.version_info == (2, 7):
+ tests_require.append('mock')
+
+-setup_requires = ['setuptools', 'setuptools-git >= 0.3']
++setup_requires = ['setuptools']
+ if sys.version_info >= (3, 5):
+ setup_requires.append('wheel >= 0.25.0') # earlier wheels fail in 3.5
+ else:
Home |
Main Index |
Thread Index |
Old Index