George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-confuse
Commits:
145478b0 by George Rawlinson at 2025-10-27T21:13:51+00:00
reuse: simplify conf
- - - - -
159bdda2 by George Rawlinson at 2025-10-27T21:19:01+00:00
upgpkg: 2.1.0-1
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,16 +1,18 @@
pkgbase = python-confuse
pkgdesc = Painless YAML config files for Python
- pkgver = 2.0.1
- pkgrel = 4
+ pkgver = 2.1.0
+ pkgrel = 1
url = https://github.com/beetbox/confuse
arch = any
license = MIT
makedepends = git
makedepends = python-build
- makedepends = python-flit-core
+ makedepends = python-poetry-core
makedepends = python-installer
+ depends = python
depends = python-yaml
- source =
git+https://github.com/beetbox/confuse.git#tag=eb041a8012b18f20d333b0da9aa4bc7f5a79f044
- sha256sums = SKIP
+ source =
python-confuse::git+https://github.com/beetbox/confuse#tag=v2.1.0
+ sha512sums =
b00725143832118830a58abdce59c845d4de47cbbc6d07f3f08e7a193568123fb1b194c1084ae7b8abf1278113611566cadefc3c2f8077fe358a419c93d309e0
+ b2sums =
ebf3c86cc259f70aed99cd13c457161e9cbd73fe33d15eef75592bce8aee6fd3d331ac42fa2ffb9675a59d8e965ac94058fe786a6df3534344a1998ceb500b10
pkgname = python-confuse
=====================================
PKGBUILD
=====================================
@@ -3,41 +3,44 @@
# Contributor: Frederik “Freso” S. Olesen <[email protected]>
pkgname=python-confuse
-pkgver=2.0.1
-pkgrel=4
+pkgver=2.1.0
+pkgrel=1
pkgdesc='Painless YAML config files for Python'
arch=(any)
url=https://github.com/beetbox/confuse
license=(MIT)
-depends=(python-yaml)
+depends=(
+ python
+ python-yaml
+)
makedepends=(
git
python-build
- python-flit-core
+ python-poetry-core
python-installer
)
-_tag=eb041a8012b18f20d333b0da9aa4bc7f5a79f044
-source=(git+https://github.com/beetbox/confuse.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
- cd confuse
- git describe --tags | sed 's/^v//'
-}
+source=("$pkgname::git+https://github.com/beetbox/confuse#tag=v$pkgver")
+sha512sums=('b00725143832118830a58abdce59c845d4de47cbbc6d07f3f08e7a193568123fb1b194c1084ae7b8abf1278113611566cadefc3c2f8077fe358a419c93d309e0')
+b2sums=('ebf3c86cc259f70aed99cd13c457161e9cbd73fe33d15eef75592bce8aee6fd3d331ac42fa2ffb9675a59d8e965ac94058fe786a6df3534344a1998ceb500b10')
build() {
- cd confuse
+ cd "$pkgname"
+
python -m build --wheel --no-isolation
}
check() {
- cd confuse
+ cd "$pkgname"
+
python -m unittest discover -vs .
}
package() {
- python -m installer --destdir="${pkgdir}" confuse/dist/*.whl
- install -Dm 644 confuse/LICENSE -t
"${pkgdir}"/usr/share/licenses/python-confuse/
-}
+ cd "$pkgname"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
# vim: ts=2 sw=2 et:
=====================================
REUSE.toml
=====================================
@@ -7,16 +7,6 @@ path = [
"keys/**",
".SRCINFO",
".nvchecker.toml",
- "*.install",
- "*.sysusers",
- "*.tmpfiles",
- "*.logrotate",
- "*.pam",
- "*.service",
- "*.socket",
- "*.timer",
- "*.desktop",
- "*.hook",
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-confuse/-/compare/3f6a64e5c99141bda8aa171fbea23f2b965109f3...159bdda2fb9f73e4fa392d117f5bf9f10bdfb80f
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-confuse/-/compare/3f6a64e5c99141bda8aa171fbea23f2b965109f3...159bdda2fb9f73e4fa392d117f5bf9f10bdfb80f
You're receiving this email because of your account on gitlab.archlinux.org.