Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-trove-classifiers


Commits:
dd48aa55 by Felix Yan at 2024-10-19T16:49:05+03:00
upgpkg: 2024.10.11-2: fix version in metadata

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-trove-classifiers
        pkgdesc = Canonical source for classifiers on PyPI (pypi.org)
        pkgver = 2024.10.11
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/pypa/trove-classifiers
        arch = any
        license = Apache-2.0


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 
 pkgname=python-trove-classifiers
 pkgver=2024.10.11
-pkgrel=1
+pkgrel=2
 pkgdesc="Canonical source for classifiers on PyPI (pypi.org)"
 url="https://github.com/pypa/trove-classifiers";
 license=('Apache-2.0')
@@ -13,6 +13,12 @@ checkdepends=('python-pytest')
 source=("git+https://github.com/pypa/trove-classifiers.git#tag=$pkgver";)
 
sha512sums=('c27c9ebaa03ce74e823d89e8c61ed4356de9750047d2a8d6198dd0c56b5135035dc81d710136b043d4ef06d8719835bccfc53cf755491f47cc5421c299a9f46f')
 
+prepare() {
+  cd trove-classifiers
+  # calver doesn't detect git tags
+  echo "Version: $pkgver" > PKG-INFO
+}
+
 build() {
   cd trove-classifiers
   python -m build --wheel --no-isolation



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-trove-classifiers/-/commit/dd48aa55f322d8f3ece943cd5b904b1eeaa8d39c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-trove-classifiers/-/commit/dd48aa55f322d8f3ece943cd5b904b1eeaa8d39c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to