[arch-commits] Commit in python-tempora/trunk (PKGBUILD)
Thore Bödecker
foxxx0 at gemini.archlinux.org
Sun Feb 6 15:10:47 UTC 2022
Date: Sunday, February 6, 2022 @ 15:10:47
Author: foxxx0
Revision: 1127150
upgpkg: python-tempora 5.0.1-1 | update to upstream release 5.0.1
add setuptools workaround due to upstream removed setup.py
Modified:
python-tempora/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-06 15:05:24 UTC (rev 1127149)
+++ PKGBUILD 2022-02-06 15:10:47 UTC (rev 1127150)
@@ -3,7 +3,7 @@
pkgname='python-tempora'
_pkgbase="${pkgname//python-/}"
-pkgver=5.0.0
+pkgver=5.0.1
pkgrel=1
pkgdesc="Objects and routines pertaining to date and time (tempora)."
arch=('any')
@@ -17,7 +17,7 @@
'python-pytest-mypy')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
'LICENSE')
-sha512sums=('5dea8c35f0b29e89a346c4b8b8915ab8cafdcf6f21e1f1fd9e6b0f2f891a36936de287ff197d08d9cb72374c58c757b5884f44f6223f3e442582678e456c4f0d'
+sha512sums=('5071091aaf7607d6fc7026b62bae2e418e006611a36a32a1e944cc40862df5e3f2c8fbc74015704cbe631110970238f8e27f346280a2e6e7a81e5b67eda1679b'
'1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
# setuptools won't find version from git tag
@@ -25,7 +25,7 @@
build() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
- python ./setup.py build
+ python -c 'from setuptools import setup; setup()' build
}
check() {
@@ -35,7 +35,7 @@
package() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
- python ./setup.py install --root="${pkgdir}" --optimize=1
+ python -c 'from setuptools import setup; setup()' install --root="${pkgdir}" --optimize=1
# the author has promised to include a LICENSE file in future releases:
# https://github.com/jaraco/skeleton/issues/1
More information about the arch-commits
mailing list