[arch-commits] Commit in python-sphinx-argparse-cli/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Fri Feb 19 16:12:45 UTC 2021
Date: Friday, February 19, 2021 @ 16:12:44
Author: ffy00
Revision: 865955
add missing version module (1.5.0-2)
Modified:
python-sphinx-argparse-cli/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-19 16:11:26 UTC (rev 865954)
+++ PKGBUILD 2021-02-19 16:12:44 UTC (rev 865955)
@@ -3,13 +3,13 @@
_pkgname=sphinx-argparse-cli
pkgname=python-$_pkgname
pkgver=1.5.0
-pkgrel=1
+pkgrel=2
pkgdesc='Render CLI arguments (sub-commands friendly) defined by argparse module'
arch=('any')
url='https://github.com/gaborbernat/sphinx-argparse-cli'
license=('MIT')
depends=('python' 'python-sphinx' 'python-docutils-stubs')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools-scm')
#checkdepends=('python-pytest')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha512sums=('95b5ef079620ddbe02e14e120fb58abbb053ae7643c465be0d0bb4888b32ac9e968e0043e6871b09a40abb5c461bcb13c8acd406e4a5859d4086c888409bbad3')
@@ -17,6 +17,7 @@
build() {
cd $_pkgname-$pkgver
+ echo "__version__: str = '$pkgver'" > src/sphinx_argparse_cli/version.py
python setup.py build
}
More information about the arch-commits
mailing list