Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
python-distlib


Commits:
042cfb83 by Carl Smedstad at 2024-11-18T12:34:41+01:00
Remove redundant pkgver() function

- - - - -
5d98ace9 by Carl Smedstad at 2024-11-18T12:35:54+01:00
upgpkg: 0.3.9-2: Python 3.13 rebuild

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
 pkgbase = python-distlib
        pkgdesc = Low-level functions that relate to packaging and distribution 
of Python software
        pkgver = 0.3.9
-       pkgrel = 1
+       pkgrel = 2
        url = https://distlib.readthedocs.io
        arch = any
        license = PSF-2.0
+       checkdepends = python-tests
        makedepends = git
        makedepends = python-build
        makedepends = python-installer


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=python-distlib
 pkgver=0.3.9
-pkgrel=1
+pkgrel=2
 pkgdesc='Low-level functions that relate to packaging and distribution of 
Python software'
 arch=('any')
 url='https://distlib.readthedocs.io'
@@ -16,15 +16,10 @@ makedepends=(
   'python-setuptools'
   'python-wheel'
 )
+checkdepends=('python-tests')
 source=("$pkgname::git+https://github.com/pypa/distlib.git#tag=$pkgver";)
 
b2sums=('816f3d98d7e5f8bb12ae65685cf731c6a67c596d337474d618c90cb5d83a82f21fbee40d6d76f39791fa8770cb0282b2c45ff212d42e0e535403f9990380fd97')
 
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
-
 prepare() {
   cd "$pkgname"
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-distlib/-/compare/f0243ffecd5acd9506e90d6e7d4395c5170eb02e...5d98ace963fe86ebd97351246a528f262710a1a5

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-distlib/-/compare/f0243ffecd5acd9506e90d6e7d4395c5170eb02e...5d98ace963fe86ebd97351246a528f262710a1a5
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to