pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-enum Restrict py-enum to Python 2.7 only



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b521e7339620
branches:  trunk
changeset: 354114:b521e7339620
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Wed Oct 19 22:22:46 2016 +0000

description:
Restrict py-enum to Python 2.7 only

>From PYPI site:
Superseded by Python standard library.

Python 3 now has in its standard library an enum implementation (also
available for older Python versions as the third-party flufl.enum
distribution) that supersedes this library.

diffstat:

 devel/py-enum/Makefile |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 35d3b6d6da2f -r b521e7339620 devel/py-enum/Makefile
--- a/devel/py-enum/Makefile    Wed Oct 19 21:09:40 2016 +0000
+++ b/devel/py-enum/Makefile    Wed Oct 19 22:22:46 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2016/09/19 00:29:01 kamil Exp $
+# $NetBSD: Makefile,v 1.2 2016/10/19 22:22:46 kamil Exp $
 
 DISTNAME=      enum-0.4.6
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,5 +12,14 @@
 
 USE_LANGUAGES= # none
 
+# From PYPI:
+#
+# Superseded by Python standard library.
+#
+# Python 3 now has in its standard library an enum implementation (also
+# available for older Python versions as the third-party flufl.enum
+# distribution) that supersedes this library.
+PYTHON_VERSIONS_ACCEPTED=      27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index