summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2012-03-20 23:38:26 +0000
committergdt <gdt@pkgsrc.org>2012-03-20 23:38:26 +0000
commit33513d3b307cf05a83439fee3dbf388e30635c27 (patch)
tree6f8f5506524280e6b065512523d6a565637fefe0 /security
parenta9eedf73fe14a552a58ca64f15f3605fde7f1143 (diff)
downloadpkgsrc-33513d3b307cf05a83439fee3dbf388e30635c27.tar.gz
Split version into sane and excessive parts.
Upstream's version is 0.6.0.X, where X appears to be a large integer in decimal that corresponds to a git sha1 has. Such large numbers violate the assumption, true with just about every previous package, that version number components will fit in an int --- code that handles version numbers does not use a multiprecision integer library like gmp. To address this, split the version into what would have been the version under normal procedures (0.6.0), and put the bignum into ${VERSION_EXCESSIVE}, allowing it be used in DISTNAME but not PKGNAME.
Diffstat (limited to 'security')
-rw-r--r--security/py-cryptopp/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/security/py-cryptopp/Makefile b/security/py-cryptopp/Makefile
index 927259caaf6..47082fb71fe 100644
--- a/security/py-cryptopp/Makefile
+++ b/security/py-cryptopp/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2012/03/16 00:14:36 gdt Exp $
+# $NetBSD: Makefile,v 1.8 2012/03/20 23:38:26 gdt Exp $
#
-VERSION= 0.6.0.1206569328141510525648634803928199668821045408958
-DISTNAME= pycryptopp-${VERSION}
+VERSION= 0.6.0
+VERSION_EXCESSIVE= 1206569328141510525648634803928199668821045408958
+DISTNAME= pycryptopp-${VERSION}.${VERSION_EXCESSIVE}
PKGNAME= ${PYPKGPREFIX}-cryptopp-${VERSION}
CATEGORIES= security python
MASTER_SITES= http://pypi.python.org/packages/source/p/pycryptopp/