pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-bump2version
Module Name: pkgsrc
Committed By: khorben
Date: Thu Oct 8 21:52:29 UTC 2020
Modified Files:
pkgsrc/devel/py-bump2version: Makefile
Log Message:
py-bump2version: allow build with Python >= 3.5
While there, use MASTER_SITE_PYPI, and fix "make reinstall".
Thanks adam@ for the heads-up.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-bump2version/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-bump2version/Makefile
diff -u pkgsrc/devel/py-bump2version/Makefile:1.1 pkgsrc/devel/py-bump2version/Makefile:1.2
--- pkgsrc/devel/py-bump2version/Makefile:1.1 Thu Oct 8 18:31:24 2020
+++ pkgsrc/devel/py-bump2version/Makefile Thu Oct 8 21:52:29 2020
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2020/10/08 18:31:24 khorben Exp $
+# $NetBSD: Makefile,v 1.2 2020/10/08 21:52:29 khorben Exp $
DISTNAME= bump2version-1.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
-MASTER_SITES= https://files.pythonhosted.org/packages/29/2a/688aca6eeebfe8941235be53f4da780c6edee05dbbea5d7abaa3aab6fad2/
+MASTER_SITES= ${MASTER_SITE_PYPI:=b/bump2version/}
MAINTAINER= khorben%defora.org@localhost
HOMEPAGE= https://github.com/c4urself/bump2version
@@ -12,11 +12,11 @@ LICENSE= mit
USE_LANGUAGES= # none
-PYTHON_VERSIONS_ACCEPTED= 37 36
+PYTHON_INCOMPATIBLE_VERSIONS= 27
post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/bumpversion ${DESTDIR}${PREFIX}/bin/bumpversion-${PYVERSSUFFIX}
- ${MV} ${DESTDIR}${PREFIX}/bin/bump2version ${DESTDIR}${PREFIX}/bin/bump2version-${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/bumpversion ${DESTDIR}${PREFIX}/bin/bumpversion-${PYVERSSUFFIX} || ${TRUE}
+ ${MV} ${DESTDIR}${PREFIX}/bin/bump2version ${DESTDIR}${PREFIX}/bin/bump2version-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index