summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrodent <rodent>2015-07-06 05:03:33 +0000
committerrodent <rodent>2015-07-06 05:03:33 +0000
commitf73de46b033720292504e65be5dd308fcbe1b0fe (patch)
tree1f437b2521c5c64b8fa47fc682fdec44941ea655 /mk
parentbd0befa695fee8197534b201861caa36c647b701 (diff)
downloadpkgsrc-f73de46b033720292504e65be5dd308fcbe1b0fe.tar.gz
Enabling handling of pypi packages. No opposing comments received in
private mail nor on tech-pkg@ since the posting. Will begin the slow transition of packages to use this feature as they're updated.
Diffstat (limited to 'mk')
-rw-r--r--mk/fetch/bsd.fetch.mk4
-rw-r--r--mk/fetch/pypi.mk4
2 files changed, 4 insertions, 4 deletions
diff --git a/mk/fetch/bsd.fetch.mk b/mk/fetch/bsd.fetch.mk
index 462eb3d6591..57b6d405382 100644
--- a/mk/fetch/bsd.fetch.mk
+++ b/mk/fetch/bsd.fetch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.fetch.mk,v 1.9 2015/07/01 00:55:34 rodent Exp $
+# $NetBSD: bsd.fetch.mk,v 1.10 2015/07/06 05:03:33 rodent Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and defines the
# relevant variables and targets for the "fetch" step.
@@ -39,4 +39,4 @@
.include "fetch-list.mk"
.include "distclean.mk"
.include "github.mk"
-#.include "pypi.mk"
+.include "pypi.mk"
diff --git a/mk/fetch/pypi.mk b/mk/fetch/pypi.mk
index d86bdd0725e..e126f105152 100644
--- a/mk/fetch/pypi.mk
+++ b/mk/fetch/pypi.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pypi.mk,v 1.1 2015/07/01 00:55:34 rodent Exp $
+# $NetBSD: pypi.mk,v 1.2 2015/07/06 05:03:33 rodent Exp $
#
# pypi.python.org master site handling
#
@@ -37,5 +37,5 @@ PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
.endif
# Makes: https://pypi.python.org/pypi/pyfoo/1.0.0 and saves an HTTP redirect.
-HOMEPAGE?= https://pypi.python.org/pypi/${_PYPI_PACKAGE_PATH}/${PKGVERSION_NOREV}
+HOMEPAGE?= https://pypi.python.org/pypi/${_PYPI_PACKAGE_PATH}
.endif