[arch-commits] Commit in python2-iniparse/repos/community-any (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Tue Dec 26 04:03:26 UTC 2017
Date: Tuesday, December 26, 2017 @ 04:03:25
Author: eschwartz
Revision: 276086
copy trunk/ to repos/ for FTBFS fixes
Modified:
python2-iniparse/repos/community-any/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-26 03:23:30 UTC (rev 276085)
+++ PKGBUILD 2017-12-26 04:03:25 UTC (rev 276086)
@@ -11,16 +11,16 @@
license=('MIT')
url='http://code.google.com/p/iniparse'
depends=('python2')
-source=("http://iniparse.googlecode.com/files/iniparse-${pkgver}.tar.gz")
+source=("https://pypi.python.org/packages/source/i/iniparse/iniparse-${pkgver}.tar.gz")
sha1sums=('2b2af8a19f3e5c212c27d7c524cd748fa0b38650')
build() {
- cd ${srcdir}/iniparse-${pkgver}
+ cd "${srcdir}/iniparse-${pkgver}"
python2 ./setup.py build
}
package() {
- cd ${srcdir}/iniparse-${pkgver}
- python2 ./setup.py install --root=${pkgdir} --optimize=1
+ cd "${srcdir}/iniparse-${pkgver}"
+ 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