summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2018-12-17 16:30:49 +0000
committertaca <taca@pkgsrc.org>2018-12-17 16:30:49 +0000
commita52322d77f5ebf3010598b934150b7dbba96e498 (patch)
tree5f4ac8084f70ab4b0bd00f1fc40fe5927f54fdde /devel
parent78cabe85eae40fa81b12ca7acc2e0e1d68539938 (diff)
downloadpkgsrc-a52322d77f5ebf3010598b934150b7dbba96e498.tar.gz
devel/transifex-client: update to 0.13.5
pkgsrc changes * Add support for pkg_alternatives. * Prefix PKGNAME with ${PYPKGPREFIX}. * update dependency. 0.13.5 (2018/10/17) * Pin dependencies to avoid incompatibilities between packages
Diffstat (limited to 'devel')
-rw-r--r--devel/transifex-client/ALTERNATIVES1
-rw-r--r--devel/transifex-client/Makefile15
-rw-r--r--devel/transifex-client/PLIST4
-rw-r--r--devel/transifex-client/distinfo10
4 files changed, 19 insertions, 11 deletions
diff --git a/devel/transifex-client/ALTERNATIVES b/devel/transifex-client/ALTERNATIVES
new file mode 100644
index 00000000000..a0cd8cfbe20
--- /dev/null
+++ b/devel/transifex-client/ALTERNATIVES
@@ -0,0 +1 @@
+bin/tx bin/tx-@PYVERSSUFFIX@
diff --git a/devel/transifex-client/Makefile b/devel/transifex-client/Makefile
index 8fcbf1d2f19..90291e80d81 100644
--- a/devel/transifex-client/Makefile
+++ b/devel/transifex-client/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.13 2018/09/23 18:23:22 taca Exp $
+# $NetBSD: Makefile,v 1.14 2018/12/17 16:30:49 taca Exp $
-DISTNAME= transifex-client-0.13.4
+DISTNAME= transifex-client-0.13.5
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=transifex/}
+GITHUB_PROJECT= transifex-client
MAINTAINER= taca@NetBSD.org
HOMEPAGE= https://github.com/transifex/${GITHUB_PROJECT}
@@ -11,8 +13,13 @@ LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-urllib3>=1.14:../../www/py-urllib3
DEPENDS+= ${PYPKGPREFIX}-six>=1.11:../../lang/py-six
-DEPENDS+= ${PYPKGPREFIX}-requests>=2.19:../../devel/py-requests
-DEPENDS+= ${PYPKGPREFIX}-python-slugify>=1.2.5:../../devel/py-python-slugify
+DEPENDS+= ${PYPKGPREFIX}-requests>=2.19.1:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-python-slugify>=1.2.6:../../devel/py-python-slugify
+
+EXTRACT_USING= gtar
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && ${MV} tx tx-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/transifex-client/PLIST b/devel/transifex-client/PLIST
index c4bb6843988..07f7c6f7a56 100644
--- a/devel/transifex-client/PLIST
+++ b/devel/transifex-client/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.6 2018/04/18 19:47:20 kamil Exp $
-bin/tx
+@comment $NetBSD: PLIST,v 1.7 2018/12/17 16:30:49 taca Exp $
+bin/tx-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
diff --git a/devel/transifex-client/distinfo b/devel/transifex-client/distinfo
index 635eda760e1..e2efb4923a5 100644
--- a/devel/transifex-client/distinfo
+++ b/devel/transifex-client/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2018/09/23 18:23:22 taca Exp $
+$NetBSD: distinfo,v 1.9 2018/12/17 16:30:49 taca Exp $
-SHA1 (transifex-client-0.13.4.tar.gz) = fab6a3590da3b5c69ebbf17dc63e915e75ff127f
-RMD160 (transifex-client-0.13.4.tar.gz) = fb1c3a069ac8db1a5a7b7f7cf326fe3e38b93ec4
-SHA512 (transifex-client-0.13.4.tar.gz) = 171ca5231f61f7d7b9bea803b6ee1fbfd4be0cf2889a1494844d8c8ed99f63c6ce2f4c7a1c89104121b9819c7904b61304b065a2286153c51122e1aa91ad5bd3
-Size (transifex-client-0.13.4.tar.gz) = 213187 bytes
+SHA1 (transifex-client-0.13.5.tar.gz) = 97fbeb1e62dc9a66e4d4a8f92bfdb351dbc502e4
+RMD160 (transifex-client-0.13.5.tar.gz) = 368d576da60b02e720379c46545befead160e85a
+SHA512 (transifex-client-0.13.5.tar.gz) = 40e5131e327c0daecc35cd818968e14648064923db0493bf0e42dcef2b6ab4a770766f66f1b2f66f9c5362d68291a47e9649b57340b032081781c0a0a67f6b41
+Size (transifex-client-0.13.5.tar.gz) = 213228 bytes