[arch-commits] Commit in python-shellingham/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Nov 10 21:14:47 UTC 2021
Date: Wednesday, November 10, 2021 @ 21:14:47
Author: arojas
Revision: 1040399
Rebuild
Modified:
python-shellingham/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-10 21:14:45 UTC (rev 1040398)
+++ PKGBUILD 2021-11-10 21:14:47 UTC (rev 1040399)
@@ -4,7 +4,7 @@
_pkgname=shellingham
pkgname=python-shellingham
pkgver=1.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="Detect what shell the current Python executable is running in."
arch=('any')
url="https://github.com/sarugaku/${_pkgname}"
@@ -17,19 +17,19 @@
b2sums=('06c642a0e88a41683f7a316304c28f66f89d6215ff27244a0b984725b7c888bc0de6e6936012c02a1a178f827f300f99704f0d2f61476ce49a27e8c2aaf0f9a7')
build(){
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
python setup.py build
}
check() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
python setup.py pytest
}
package() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
+ cd ${_pkgname}-${pkgver}
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
More information about the arch-commits
mailing list