Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages /
python-justbases
Commits:
e55ae43a by Jelle van der Waa at 2024-10-13T14:07:37+02:00
upgpkg: 0.15.2-1
Switch to PEP517 build tooling
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,14 +1,17 @@
pkgbase = python-justbases
pkgdesc = conversion of ints and rationals to any base
- pkgver = 0.15
- pkgrel = 6
+ pkgver = 0.15.2
+ pkgrel = 1
url = https://github.com/mulkieran/justbases
arch = any
- license = GPL
+ license = LGPL-2.1-or-later
checkdepends = python-hypothesis
makedepends = python-setuptools
+ makedepends = python-build
+ makedepends = python-installer
+ makedepends = python-wheel
depends = python
- source =
python-justbases-0.15.tar.gz::https://github.com/mulkieran/justbases/archive/v0.15.tar.gz
- sha256sums =
e2ae5a552816f618dc4dcb408b3fc1711097f829dd825a1fd508c69357b562e6
+ source =
python-justbases-0.15.2.tar.gz::https://github.com/mulkieran/justbases/archive/v0.15.2.tar.gz
+ sha256sums =
3d85648d1c797f1857decc641d648b7d3b6902b204e4b7a4961896c5ffe055ef
pkgname = python-justbases
=====================================
PKGBUILD
=====================================
@@ -2,17 +2,17 @@
pkgname=python-justbases
_pkgname=justbases
-pkgver=0.15
-pkgrel=6
+pkgver=0.15.2
+pkgrel=1
pkgdesc="conversion of ints and rationals to any base"
url="https://github.com/mulkieran/justbases"
depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools' 'python-build' 'python-installer'
'python-wheel')
checkdepends=('python-hypothesis')
-license=('GPL')
+license=('LGPL-2.1-or-later')
arch=('any')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/mulkieran/${_pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('e2ae5a552816f618dc4dcb408b3fc1711097f829dd825a1fd508c69357b562e6')
+sha256sums=('3d85648d1c797f1857decc641d648b7d3b6902b204e4b7a4961896c5ffe055ef')
check() {
cd "$srcdir/${_pkgname}-$pkgver"
@@ -20,10 +20,10 @@ check() {
}
build() {
cd "$srcdir/${_pkgname}-$pkgver"
- python setup.py build
+ python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/${_pkgname}-$pkgver"
- python setup.py install --root="$pkgdir" --optimize=1
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-justbases/-/commit/e55ae43aaf1b977adafad9f86a44a6393ba5a652
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-justbases/-/commit/e55ae43aaf1b977adafad9f86a44a6393ba5a652
You're receiving this email because of your account on gitlab.archlinux.org.