pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-python-slugify py-python-slugify: cleanup



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b80f0cf724d
branches:  trunk
changeset: 338675:8b80f0cf724d
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Aug 28 07:57:30 2019 +0000

description:
py-python-slugify: cleanup

diffstat:

 devel/py-python-slugify/ALTERNATIVES |   2 +-
 devel/py-python-slugify/Makefile     |  13 ++++++-------
 devel/py-python-slugify/PLIST        |   4 ++--
 3 files changed, 9 insertions(+), 10 deletions(-)

diffs (50 lines):

diff -r 67389b3aaea0 -r 8b80f0cf724d devel/py-python-slugify/ALTERNATIVES
--- a/devel/py-python-slugify/ALTERNATIVES      Wed Aug 28 07:11:23 2019 +0000
+++ b/devel/py-python-slugify/ALTERNATIVES      Wed Aug 28 07:57:30 2019 +0000
@@ -1,1 +1,1 @@
-bin/slugify @PREFIX@/bin/slugify@PYVERSSUFFIX@
+bin/slugify @PREFIX@/bin/slugify-@PYVERSSUFFIX@
diff -r 67389b3aaea0 -r 8b80f0cf724d devel/py-python-slugify/Makefile
--- a/devel/py-python-slugify/Makefile  Wed Aug 28 07:11:23 2019 +0000
+++ b/devel/py-python-slugify/Makefile  Wed Aug 28 07:57:30 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2019/08/28 05:42:15 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2019/08/28 07:57:30 adam Exp $
 
 DISTNAME=      python-slugify-3.0.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-slugify/}
 
@@ -11,14 +11,13 @@
 COMMENT=       Slugify (non-ASCII to ASCII) application that handles Unicode
 LICENSE=       mit
 
-USE_LANGUAGES=         # none
+DEPENDS+=      ${PYPKGPREFIX}-text-unidecode>=1.2:../../textproc/py-text-unidecode
 
-DEPENDS+=      ${PYPKGPREFIX}-text-unidecode>=1.2:../../textproc/py-text-unidecode
+USE_LANGUAGES= # none
 
 post-install:
-       ${MV} ${DESTDIR}${PREFIX}/bin/slugify \
-               ${DESTDIR}${PREFIX}/bin/slugify${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} slugify slugify-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 67389b3aaea0 -r 8b80f0cf724d devel/py-python-slugify/PLIST
--- a/devel/py-python-slugify/PLIST     Wed Aug 28 07:11:23 2019 +0000
+++ b/devel/py-python-slugify/PLIST     Wed Aug 28 07:57:30 2019 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2018/09/23 18:16:24 taca Exp $
-bin/slugify${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.2 2019/08/28 07:57:30 adam Exp $
+bin/slugify-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index