[arch-commits] Commit in python-split/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Nov 1 16:05:09 UTC 2016
Date: Tuesday, November 1, 2016 @ 16:05:09
Author: felixonmars
Revision: 194219
upgpkg: python-split 0.4-1
Modified:
python-split/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-01 16:01:10 UTC (rev 194218)
+++ PKGBUILD 2016-11-01 16:05:09 UTC (rev 194219)
@@ -1,19 +1,20 @@
+# $Id$
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgbase=python-split
pkgname=("python-split" "python2-split")
-pkgver=0.3
-pkgrel=2
+pkgver=0.4
+pkgrel=1
pkgdesc="Functions to split or partition sequences"
arch=('any')
url="https://bitbucket.org/astanin/python-split"
license=('MIT')
makedepends=('python' 'python2')
-source=("https://pypi.python.org/packages/source/s/split/split-$pkgver.tar.gz")
-md5sums=('b7335dd97e4dda7ba6d3098ee6202612')
+source=("https://pypi.io/packages/source/s/split/split-$pkgver.zip")
+md5sums=('16e72d45b66b0f8da2349be0f82d5216')
prepare() {
- cp -a "split-$pkgver"{,-py2}
+ cp -a split-$pkgver{,-py2}
}
package_python-split() {
@@ -20,8 +21,8 @@
depends=('python')
cd split-$pkgver
- python setup.py install --root="${pkgdir}" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
package_python2-split() {
@@ -28,6 +29,6 @@
depends=('python2')
cd split-$pkgver-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list