pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/py-beets py-beets: mark as incompatible with Pyt...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2638a1236b9c
branches: trunk
changeset: 346795:2638a1236b9c
user: adam <adam%pkgsrc.org@localhost>
date: Fri Jan 03 08:42:32 2020 +0000
description:
py-beets: mark as incompatible with Python 2.7; add dash to binary
diffstat:
audio/py-beets/ALTERNATIVES | 2 +-
audio/py-beets/Makefile | 12 +++++-------
audio/py-beets/PLIST | 4 ++--
3 files changed, 8 insertions(+), 10 deletions(-)
diffs (48 lines):
diff -r 429ace4d2714 -r 2638a1236b9c audio/py-beets/ALTERNATIVES
--- a/audio/py-beets/ALTERNATIVES Fri Jan 03 08:37:56 2020 +0000
+++ b/audio/py-beets/ALTERNATIVES Fri Jan 03 08:42:32 2020 +0000
@@ -1,1 +1,1 @@
-bin/beet @PREFIX@/bin/beet@PYVERSSUFFIX@
+bin/beet @PREFIX@/bin/beet-@PYVERSSUFFIX@
diff -r 429ace4d2714 -r 2638a1236b9c audio/py-beets/Makefile
--- a/audio/py-beets/Makefile Fri Jan 03 08:37:56 2020 +0000
+++ b/audio/py-beets/Makefile Fri Jan 03 08:42:32 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2019/12/29 15:57:24 sevan Exp $
+# $NetBSD: Makefile,v 1.25 2020/01/03 08:42:32 adam Exp $
DISTNAME= beets-1.4.9
+PKGREVISION= 1
CATEGORIES= audio python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/beets/}
@@ -20,15 +21,12 @@
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
-.endif
-
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-jellyfish
+
post-install:
- cd ${DESTDIR}${PREFIX}/bin && ${MV} beet beet${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} beet beet-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 429ace4d2714 -r 2638a1236b9c audio/py-beets/PLIST
--- a/audio/py-beets/PLIST Fri Jan 03 08:37:56 2020 +0000
+++ b/audio/py-beets/PLIST Fri Jan 03 08:42:32 2020 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.14 2019/12/29 16:31:03 adam Exp $
-bin/beet${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.15 2020/01/03 08:42:32 adam Exp $
+bin/beet-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
Home |
Main Index |
Thread Index |
Old Index