Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages /
python-configobj
Commits:
adc29b74 by Jelle van der Waa at 2024-12-28T00:34:55+01:00
Drop dependency on python-six
- - - - -
d70cda5d by Jelle van der Waa at 2024-12-28T00:39:22+01:00
Minor fixups
- Add unit tests
- Drop python six
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,13 +1,14 @@
pkgbase = python-configobj
pkgdesc = Simple config file reader and writer
pkgver = 5.0.9
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/DiffSK/configobj
arch = any
license = BSD
+ checkdepends = python-pytest
makedepends = git
makedepends = python-setuptools
- depends = python-six
+ depends = python
source = git+https://github.com/DiffSK/configobj#tag=v5.0.9
b2sums =
a741249a7116b42f099caea58ab4081f38ee34a449d6f082064e379d54b2d394c977a2f5a10d879a19b9717fe1c71afc36b8c4b9467c33e5c643f9556fdc923a
=====================================
PKGBUILD
=====================================
@@ -5,12 +5,13 @@
pkgname=python-configobj
pkgver=5.0.9
-pkgrel=3
+pkgrel=4
pkgdesc='Simple config file reader and writer'
arch=(any)
url='https://github.com/DiffSK/configobj'
license=(BSD)
-depends=(python-six)
+depends=(python)
+checkdepends=(python-pytest)
makedepends=(git python-setuptools)
source=("git+$url#tag=v$pkgver")
b2sums=('a741249a7116b42f099caea58ab4081f38ee34a449d6f082064e379d54b2d394c977a2f5a10d879a19b9717fe1c71afc36b8c4b9467c33e5c643f9556fdc923a')
@@ -22,6 +23,11 @@ prepare() {
sed -i "/from validate/d;s/VERSION/\"$_version\"/" setup_validate.py
}
+check() {
+ cd configobj
+ PYTHONPATH=src pytest src/tests
+}
+
package() {
cd configobj
python setup.py install --root="$pkgdir" --optimize=1
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-configobj/-/compare/6d43830a33cfa6c4026ef416c1520328c1b95ff8...d70cda5d757f8b848178c966e364d6b49dc8975d
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-configobj/-/compare/6d43830a33cfa6c4026ef416c1520328c1b95ff8...d70cda5d757f8b848178c966e364d6b49dc8975d
You're receiving this email because of your account on gitlab.archlinux.org.