Skip to content
Snippets Groups Projects
Commit 48f8a3d4 authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

upgpkg: 2022.6.2-1

parent 8e1f347c
No related branches found
No related tags found
No related merge requests found
......@@ -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 @@ check() {
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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment