ports/contrib (3.5): [notify] enum34 renamed to python-enum34

crux at crux.nu crux at crux.nu
Sun Feb 3 06:50:12 UTC 2019


commit 72953492196d3b0de915e3bcbc6c0a70234bb860
Author: Danny Rawlins <monster.romster at gmail.com>
Date:   Sat Nov 10 22:08:39 2018 +1100

    [notify] enum34 renamed to python-enum34

diff --git a/enum34/.footprint b/python-enum34/.footprint
similarity index 100%
rename from enum34/.footprint
rename to python-enum34/.footprint
diff --git a/enum34/.signature b/python-enum34/.signature
similarity index 56%
rename from enum34/.signature
rename to python-enum34/.signature
index 2912a955..4d5a3a7e 100644
--- a/enum34/.signature
+++ b/python-enum34/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF34MsebmlLuhhadNvzhBUo3mcnFiRIIXkVq8iUXHp3TEQ1U2GqlhDZF5PFJOH0oEbERxdJrzeiNz5KGHBmuQTzgg=
-SHA256 (Pkgfile) = 19697de89fce01a452a1eddb63b3b8c8a4c8d0bc8a334ef3c282bf2dddd0057d
+RWSagIOpLGJF37Kcqd+Yc8Cj7rBmjgrdwPiMRBMPkgqnHAkHkQpJ/hIB2ZIZUlEmOEcV0G9MUixuwHlG8tBS1+1FgkD93qLitQ8=
+SHA256 (Pkgfile) = eb65893ec5746a4f369fa098ca8ebc4504b2c5efcf7de5fb72ba4e39b6a07312
 SHA256 (.footprint) = c9cb8ac62a24f103c18c169fd9b4cac4b17d01243bf3e1299020634fa1ea55c1
 SHA256 (enum34-1.1.6.tar.gz) = 8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1
diff --git a/enum34/Pkgfile b/python-enum34/Pkgfile
similarity index 63%
rename from enum34/Pkgfile
rename to python-enum34/Pkgfile
index 59206a47..6026ae52 100644
--- a/enum34/Pkgfile
+++ b/python-enum34/Pkgfile
@@ -1,16 +1,15 @@
 # Description: Python 3.4 Enum backported
 # URL: https://pypi.python.org/pypi/enum34
 # Maintainer: Danny Rawlins, crux at romster dot me
-# Packager: Danny Rawlins, crux at romster dot me
 # Depends on: python-setuptools
 
-name=enum34
+name=python-enum34
 version=1.1.6
 release=1
-source=(https://pypi.python.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/$name-$version.tar.gz)
+source=(https://files.pythonhosted.org/packages/source/${name:7:1}/${name#*-}/${name#*-}-$version.tar.gz)
 
 build() {
-	cd $name-$version
+	cd ${name#*-}-$version
 
 	/usr/bin/python setup.py build
 	/usr/bin/python setup.py install --root=$PKG --optimize=1


More information about the CRUX mailing list