summaryrefslogtreecommitdiff
path: root/mk/fetch
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2015-07-06 05:03:33 +0000
committerrodent <rodent@pkgsrc.org>2015-07-06 05:03:33 +0000
commit5222c56c050175dc38b5e8dbd3b02580a01fc2ce (patch)
tree1f437b2521c5c64b8fa47fc682fdec44941ea655 /mk/fetch
parent18b0c52a46ee95c1c863edd1b92e9231301e66ed (diff)
downloadpkgsrc-5222c56c050175dc38b5e8dbd3b02580a01fc2ce.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/fetch')
-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