[arch-commits] Commit in python-regex/trunk (PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Sat Jun 11 07:39:24 UTC 2022
Date: Saturday, June 11, 2022 @ 07:39:24
Author: alerque
Revision: 1232119
upgpkg: python-regex 2022.6.2-1
Modified:
python-regex/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-11 07:39:21 UTC (rev 1232118)
+++ PKGBUILD 2022-06-11 07:39:24 UTC (rev 1232119)
@@ -6,23 +6,23 @@
_pkgbase=regex
pkgname=python-regex
-pkgver=2021.11.10
-pkgrel=3
+pkgver=2022.6.2
+pkgrel=1
pkgdesc="Alternative python regular expression module."
arch=('x86_64')
url="https://bitbucket.org/mrabarnett/mrab-regex"
license=('Python' 'Apache')
depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
-sha256sums=('f341ee2df0999bfdf7a95e448075effe0db212a59387de1a70690e4acb03d4c6')
-b2sums=('4729067d690033ff3c6dabb4e180d9f46fbf9cb53c4244d7d76a96d90c07c14afd4487fb068d4b4eef17bc8457f8f9de1a8bcdcefd0fe1a6a74eae00e6fabeb4')
+sha256sums=('f7b43acb2c46fb2cd506965b2d9cf4c5e64c9c612bac26c1187933c7296bf08c')
+b2sums=('48587a91366203301c517dc9cfe4f09e70905924484b906481bc89cf376854d406871312e154ac8b5833feeb50848636a95fdf99511df4feda4f16794a70856b')
build() {
cd "regex-${pkgver}"
- python setup.py build
+ python -m build -wn
}
check() {
@@ -35,6 +35,6 @@
package() {
cd "regex-${pkgver}"
- python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+ python -m installer --d "${pkgdir}" dist/*.whl
install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
}
More information about the arch-commits
mailing list