75df829645
1.3.2: - ENH: The Dockerfile used for the official Docker images now uses Python 3.6 rather than Python 2.7 - ENH: The `welcome.html` page has been updated to provide more metadata and be more HTML-standards compliant - FIX: the `pypi-server -U` command no longer fails when run inside the Docker container - FIX: The `remove_pkg` API action now removes any extant instances of a package name-version combination, not just the first one found. This means that now, for example, if a `.whl` and `.tar.gz` file exist for the requested package name and version, both will be removed - FIX: include missing `simple/` path on a URL in the example pip commands on the `welcome.html` page - DOC: more consistent and accurate documentation for pip commands provided on the `welcome.html` page - DOC: fixes to the README to make it easier for people to use pypiserver behind an apache webserver
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2020/01/16 08:20:01 adam Exp $
|
|
|
|
DISTNAME= pypiserver-1.3.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= net python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pypiserver/}
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
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"
|