pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed May 29 20:13:10 UTC 2019

Modified Files:
        pkgsrc/net: Makefile
Added Files:
        pkgsrc/net/py-pypiserver: ALTERNATIVES DESCR Makefile PLIST distinfo
        pkgsrc/net/py-pypiserver/patches: patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1249 -r1.1250 pkgsrc/net/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-pypiserver/ALTERNATIVES \
    pkgsrc/net/py-pypiserver/DESCR pkgsrc/net/py-pypiserver/Makefile \
    pkgsrc/net/py-pypiserver/PLIST pkgsrc/net/py-pypiserver/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-pypiserver/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/Makefile
diff -u pkgsrc/net/Makefile:1.1249 pkgsrc/net/Makefile:1.1250
--- pkgsrc/net/Makefile:1.1249  Tue Apr 30 03:54:42 2019
+++ pkgsrc/net/Makefile Wed May 29 20:13:09 2019
@@ -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-py3dns
 SUBDIR+=       py-pydns
 SUBDIR+=       py-pyftpdlib
 SUBDIR+=       py-pylint-celery
+SUBDIR+=       py-pypiserver
 SUBDIR+=       py-pysendfile
 SUBDIR+=       py-requestbuilder
 SUBDIR+=       py-responses

Added files:

Index: pkgsrc/net/py-pypiserver/ALTERNATIVES
diff -u /dev/null pkgsrc/net/py-pypiserver/ALTERNATIVES:1.1
--- /dev/null   Wed May 29 20:13:10 2019
+++ pkgsrc/net/py-pypiserver/ALTERNATIVES       Wed May 29 20:13:09 2019
@@ -0,0 +1 @@
+bin/pypi-server @PREFIX@/bin/pypi-server-@PYVERSSUFFIX@
Index: pkgsrc/net/py-pypiserver/DESCR
diff -u /dev/null pkgsrc/net/py-pypiserver/DESCR:1.1
--- /dev/null   Wed May 29 20:13:10 2019
+++ pkgsrc/net/py-pypiserver/DESCR      Wed May 29 20:13:09 2019
@@ -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.
Index: pkgsrc/net/py-pypiserver/Makefile
diff -u /dev/null pkgsrc/net/py-pypiserver/Makefile:1.1
--- /dev/null   Wed May 29 20:13:10 2019
+++ pkgsrc/net/py-pypiserver/Makefile   Wed May 29 20:13:09 2019
@@ -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"
Index: pkgsrc/net/py-pypiserver/PLIST
diff -u /dev/null pkgsrc/net/py-pypiserver/PLIST:1.1
--- /dev/null   Wed May 29 20:13:10 2019
+++ pkgsrc/net/py-pypiserver/PLIST      Wed May 29 20:13:09 2019
@@ -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
Index: pkgsrc/net/py-pypiserver/distinfo
diff -u /dev/null pkgsrc/net/py-pypiserver/distinfo:1.1
--- /dev/null   Wed May 29 20:13:10 2019
+++ pkgsrc/net/py-pypiserver/distinfo   Wed May 29 20:13:09 2019
@@ -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

Index: pkgsrc/net/py-pypiserver/patches/patch-setup.py
diff -u /dev/null pkgsrc/net/py-pypiserver/patches/patch-setup.py:1.1
--- /dev/null   Wed May 29 20:13:10 2019
+++ pkgsrc/net/py-pypiserver/patches/patch-setup.py     Wed May 29 20:13:09 2019
@@ -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