aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-06-27 17:20:25 +0200
committerMattias Andrée <maandree@kth.se>2023-06-27 17:20:25 +0200
commitab89b8ba117224ffc5a177c5639be1e4ab18ff1f (patch)
treeb6d78996a24b0db1d8ce6af5441cca75a883d4f3
parentUpdate url for python-arg (diff)
downloadaur-packages-ab89b8ba117224ffc5a177c5639be1e4ab18ff1f.tar.gz
aur-packages-ab89b8ba117224ffc5a177c5639be1e4ab18ff1f.tar.bz2
aur-packages-ab89b8ba117224ffc5a177c5639be1e4ab18ff1f.tar.xz
python-arg
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--python-arg/PKGBUILD8
1 files changed, 7 insertions, 1 deletions
diff --git a/python-arg/PKGBUILD b/python-arg/PKGBUILD
index c0db83a..51b8482 100644
--- a/python-arg/PKGBUILD
+++ b/python-arg/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=python-arg
pkgname=(python-arg python2-arg)
pkgver=1.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="A simple argument parser for Python"
arch=('any')
url="https://codeberg.org/maandree/python-arg"
@@ -23,11 +23,17 @@ check() {
}
package_python-arg() {
+ pkgdesc="A simple argument parser for Python (Python 3 module)"
+ depends=(python)
+
cd "$srcdir/$pkgbase"
make DESTDIR="$pkgdir" PREFIX=/usr PYTHON_MAJOR=3 install
}
package_python2-arg() {
+ pkgdesc="A simple argument parser for Python (Python 2 module)"
+ depends=(python2)
+
cd "$srcdir/$pkgbase"
make DESTDIR="$pkgdir" PREFIX=/usr PYTHON_MAJOR=2 install
}