[arch-commits] Commit in python-perf/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Oct 26 21:12:28 UTC 2019
Date: Saturday, October 26, 2019 @ 21:12:28
Author: arojas
Revision: 520687
Fix source dir name
Modified:
python-perf/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-26 20:59:07 UTC (rev 520686)
+++ PKGBUILD 2019-10-26 21:12:28 UTC (rev 520687)
@@ -16,15 +16,15 @@
sha512sums=('051aa421dafad336cf26ce839837e25fad33a8377a2c71ce1d0e4c7b768ccb36414531dac2a0f0890b7c1cb9dc79c66d32e42d11f0600f55e9d36dc5f62a8d06')
prepare() {
- cp -a perf-${pkgver}{,-py2}
- sed 's|pyperf=|pyperf2=|' -i perf-${pkgver}-py2/setup.py
+ cp -a pyperf-${pkgver}{,-py2}
+ sed 's|pyperf=|pyperf2=|' -i pyperf-${pkgver}-py2/setup.py
}
build() {
- (cd perf-${pkgver}
+ (cd pyperf-${pkgver}
python setup.py build
)
- (cd perf-${pkgver}-py2
+ (cd pyperf-${pkgver}-py2
python2 setup.py build
)
}
@@ -31,7 +31,7 @@
package_python-perf(){
depends=('python' 'python-setuptools' 'python-six')
- cd perf-${pkgver}
+ cd pyperf-${pkgver}
python setup.py install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
@@ -39,7 +39,7 @@
package_python2-perf() {
depends=('python2' 'python2-setuptools' 'python2-six' 'python2-statistics')
- cd perf-${pkgver}-py2
+ cd pyperf-${pkgver}-py2
python2 setup.py install --prefix=/usr --root="${pkgdir}" -O1 --skip-build
install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
More information about the arch-commits
mailing list