From 1785d3800f805be0074e735ec3c4b42a1cea70f0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 25 May 2014 23:30:39 -0400 Subject: Update libre/parabolaweb-utils and dependencies --- libre/parabolaweb-utils/PKGBUILD | 11 +++++------ libre/python-django-countries/PKGBUILD | 33 +++++++++++++++++++++++++++++++ libre/python-jsmin/PKGBUILD | 35 +++++++++++++++++++++++++++++++++ libre/python-pgpdump/PKGBUILD | 17 +++++++++------- libre/python2-django-countries/PKGBUILD | 32 ------------------------------ libre/python2-jsmin/PKGBUILD | 27 ------------------------- 6 files changed, 83 insertions(+), 72 deletions(-) create mode 100644 libre/python-django-countries/PKGBUILD create mode 100644 libre/python-jsmin/PKGBUILD delete mode 100644 libre/python2-django-countries/PKGBUILD delete mode 100644 libre/python2-jsmin/PKGBUILD (limited to 'libre') diff --git a/libre/parabolaweb-utils/PKGBUILD b/libre/parabolaweb-utils/PKGBUILD index 69ae3fbd3..cd81c83de 100644 --- a/libre/parabolaweb-utils/PKGBUILD +++ b/libre/parabolaweb-utils/PKGBUILD @@ -7,10 +7,10 @@ url="https://projects.parabolagnulinux.org/packages/parabolaweb-utils.git/" license=('GPL2') # The commit to get dependency info for -# Bump pkgrel if updating this is the only change -_parabolaweb_commit=86f1ed1ecc94a6a298eb3f690155b03bf013ca78 +# Bump pkgrel instead of pkgver if updating this is the only change +_parabolaweb_commit=724f8c309c97aa9af7f963687342e8f37e682204 -pkgrel=1 +pkgrel=2 epoch=1 arch=('any') @@ -18,6 +18,8 @@ source=( "https://projects.parabolagnulinux.org/packages/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2" "requirements_prod-${_parabolaweb_commit}.txt::https://projects.parabolagnulinux.org/parabolaweb.git/plain/requirements_prod.txt?id=${_parabolaweb_commit}" ) +md5sums=('4543e360c0f5ecbfa3a4a51b2bd9131d' + '8bf17af4e66f552864bfdc0fd1d472f1') build() { cd "$srcdir/$pkgname-$pkgver" @@ -36,6 +38,3 @@ package_parabolaweb-dev() { pkgdesc="Depends on packages needed to develop parabolaweb" depends=($(sed -r -e 's/\s*#.*//' depends_make.txt)) } - -md5sums=('4543e360c0f5ecbfa3a4a51b2bd9131d' - '4ed35e37e52f6b8607733c692702d319') diff --git a/libre/python-django-countries/PKGBUILD b/libre/python-django-countries/PKGBUILD new file mode 100644 index 000000000..93e7c8a31 --- /dev/null +++ b/libre/python-django-countries/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Luke Shumaker + +_pkgname=django-countries +pkgname=(python-$_pkgname python2-$_pkgname) +pkgver=2.1.2 +pkgdesc="Provides a country field for Django models" +url="http://bitbucket.org/smileychris/$_pkgname/" +license=('custom:MIT') + +conflicts=($_pkgname) + +pkgrel=3 +arch=(any) +makedepends=(python{,2}-{django,setuptools}) +source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz) +md5sums=('15e19fd70be1e8939f1bffcfe008e878') + +package_python-django-countries() { + depends=('python-django') + + cd "$srcdir/$_pkgname-$pkgver" + LC_ALL=en_US.UTF-8 python setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-django-countries() { + depends=('python2-django') + replaces=($_pkgname) + + cd "$srcdir/$_pkgname-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} diff --git a/libre/python-jsmin/PKGBUILD b/libre/python-jsmin/PKGBUILD new file mode 100644 index 000000000..3045ef6ae --- /dev/null +++ b/libre/python-jsmin/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Luke Shumaker + +_pkgname=jsmin +pkgname=(python-jsmin python2-jsmin) +pkgver=2.0.9 +pkgdesc="JavaScript minifier" +url="https://bitbucket.org/dcs/jsmin" +license=('MIT') + +pkgrel=1 +arch=('any') +makedepends=(python{,2}-setuptools) +source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz) +md5sums=('1075751bb9499dc508cc5ff90c5088dc') + +prepare() { + cd "$srcdir/$_pkgname-$pkgver" + sed -rn 's/^#\s?//p' jsmin/__init__.py > "$srcdir"/license.txt +} + +package_python-jsmin() { + depends=('python') + + cd "$srcdir/$_pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 "$srcdir"/license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-jsmin() { + depends=('python2') + + cd "$srcdir/$_pkgname-$pkgver" + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 "$srcdir"/license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} diff --git a/libre/python-pgpdump/PKGBUILD b/libre/python-pgpdump/PKGBUILD index e65f60dfa..64fb4d291 100644 --- a/libre/python-pgpdump/PKGBUILD +++ b/libre/python-pgpdump/PKGBUILD @@ -2,26 +2,29 @@ _pkgname=pgpdump pkgname=(python-pgpdump python2-pgpdump) -pkgver=1.4 +pkgver=1.5 pkgdesc=" a Python library for parsing PGP packets" url="https://github.com/toofishes/python-pgpdump" license=('custom:BSD3') pkgrel=1 arch=(any) -makedepends=(python python2) -provides=(python2-pgpdump) -source=(http://pypi.python.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz) -md5sums=(b437c28ff9d6a6257a0062c0bbe2a9ec) +makedepends=('python' 'python2') +source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz) +md5sums=('040a451c8e63de3e61fc5b66efa7fca5') package_python-pgpdump() { + depends=('python') + cd "$srcdir/$_pkgname-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 - install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYING" + install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYING } package_python2-pgpdump() { + depends=('python2') + cd "$srcdir/$_pkgname-$pkgver" python2 setup.py install --root="$pkgdir/" --optimize=1 - install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/COPYING" + install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYING } diff --git a/libre/python2-django-countries/PKGBUILD b/libre/python2-django-countries/PKGBUILD deleted file mode 100644 index 36bc6a580..000000000 --- a/libre/python2-django-countries/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: Luke Shumaker - -_pkgname=django-countries -pkgname=python2-$_pkgname -pkgver=1.5 -pkgdesc="Provides a country field for Django models" -url="http://bitbucket.org/smileychris/$_pkgname/" -license=('custom:MIT') - -replaces=($_pkgname) -conflicts=($_pkgname) - -pkgrel=3 -arch=(any) -depends=('python2-django') -makedepends=('python2-distribute') -source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz) -md5sums=(6c65fcc3aa7de065a54cdb619397626d) - -build() { - cd "$srcdir/$_pkgname-$pkgver" - sed -i 's|#!/usr/bin/env python\s*$|#!/usr/bin/env python2|' setup.py */bin/*.py - # fix help message: (python2, typo) - # "python regenenerate.py" -> "python2 regenerate.py" - sed -i 's|python regen[a-z]*\.py|python2 regenerate.py|' */bin/regenerate.py -} - -package() { - cd "$srcdir/$_pkgname-$pkgver" - ./setup.py install --root="$pkgdir/" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} diff --git a/libre/python2-jsmin/PKGBUILD b/libre/python2-jsmin/PKGBUILD deleted file mode 100644 index 00c158324..000000000 --- a/libre/python2-jsmin/PKGBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Maintainer: Luke Shumaker - -_pkgname=jsmin -pkgname=python2-jsmin -pkgver=2.0.8 -pkgdesc="JavaScript minifier" -url="https://bitbucket.org/dcs/jsmin" -license=('MIT') - -pkgrel=1 -arch=('any') -depends=('python2') -makedepends=('python2-distribute') -source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz) - -build() { - cd "$srcdir/$_pkgname-$pkgver" - sed -rn 's/^#\s?//p' jsmin/__init__.py > license.txt -} - -package() { - cd "$srcdir/$_pkgname-$pkgver" - python2 setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -md5sums=('d830a979d63bfa0bc23e11fdbc816e7d') -- cgit v1.2.3 From 45b388afb387ec8398adda3f1ae137c2474e369a Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 26 May 2014 00:16:43 -0400 Subject: libre/python-pgpdump: rename copyright file to match upstream --- libre/python-pgpdump/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libre') diff --git a/libre/python-pgpdump/PKGBUILD b/libre/python-pgpdump/PKGBUILD index 64fb4d291..90b55c197 100644 --- a/libre/python-pgpdump/PKGBUILD +++ b/libre/python-pgpdump/PKGBUILD @@ -7,7 +7,7 @@ pkgdesc=" a Python library for parsing PGP packets" url="https://github.com/toofishes/python-pgpdump" license=('custom:BSD3') -pkgrel=1 +pkgrel=2 arch=(any) makedepends=('python' 'python2') source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz) @@ -18,7 +18,7 @@ package_python-pgpdump() { cd "$srcdir/$_pkgname-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 - install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYING + install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT } package_python2-pgpdump() { @@ -26,5 +26,5 @@ package_python2-pgpdump() { cd "$srcdir/$_pkgname-$pkgver" python2 setup.py install --root="$pkgdir/" --optimize=1 - install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYING + install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/COPYRIGHT } -- cgit v1.2.3 From 8012a1f8e1652c3d12daa4cb8f6e337ec7abea17 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 26 May 2014 00:51:03 -0400 Subject: fix libre/python-jsmin --- libre/python-jsmin/PKGBUILD | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'libre') diff --git a/libre/python-jsmin/PKGBUILD b/libre/python-jsmin/PKGBUILD index 3045ef6ae..08d7b1a0d 100644 --- a/libre/python-jsmin/PKGBUILD +++ b/libre/python-jsmin/PKGBUILD @@ -7,29 +7,26 @@ pkgdesc="JavaScript minifier" url="https://bitbucket.org/dcs/jsmin" license=('MIT') -pkgrel=1 +pkgrel=2 arch=('any') makedepends=(python{,2}-setuptools) source=(http://pypi.python.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz) md5sums=('1075751bb9499dc508cc5ff90c5088dc') -prepare() { - cd "$srcdir/$_pkgname-$pkgver" - sed -rn 's/^#\s?//p' jsmin/__init__.py > "$srcdir"/license.txt -} - package_python-jsmin() { depends=('python') cd "$srcdir/$_pkgname-$pkgver" + rm -rf build python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 "$srcdir"/license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt } package_python2-jsmin() { depends=('python2') cd "$srcdir/$_pkgname-$pkgver" + rm -rf build python2 setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 "$srcdir"/license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt } -- cgit v1.2.3 From 280c2ec85d27e37bbcba9efb5d69df7bafc64c98 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 26 May 2014 02:13:18 -0400 Subject: libre/sh-roundup: touch up librefetch usage --- libre/sh-roundup/PKGBUILD | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'libre') diff --git a/libre/sh-roundup/PKGBUILD b/libre/sh-roundup/PKGBUILD index 7c17669d3..b8d1ef2e8 100644 --- a/libre/sh-roundup/PKGBUILD +++ b/libre/sh-roundup/PKGBUILD @@ -1,4 +1,4 @@ -# Maintainer: Luke Shumaker pkgname=sh-roundup pkgver=0.0.5.git17 @@ -8,22 +8,17 @@ pkgdesc='A unit testing framework for POSIX shell' license=("custom:MIT") url="http://bmizerany.github.io/roundup/" -pkgrel=1 +pkgrel=2 arch=('any') depends=(sh) makedepends=(ronn) -source=("libre://$pkgname-$pkgver.tar.gz" 'makefile-fix.patch') -md5sums=('8b1f85316d178eb9e809e168f52d0f2d' +source=("https://repo.parabolagnulinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz" 'makefile-fix.patch') +md5sums=('053754e0a450288710bde0b9e5deb67e' '9efcd83d666c1e84302fe611610c60fa') -mksource=("git://github.com/bmizerany/roundup.git#${_gitver}") +mksource=("$pkgname-$pkgver::git://github.com/bmizerany/roundup.git#${_gitver}") mkmd5sums=('SKIP') -mksource() { - cd "$srcdir" - rm -rf $pkgname-* - mv roundup $pkgname-$pkgver -} prepare() { cd "$srcdir/$pkgname-$pkgver" -- cgit v1.2.3