aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-02 12:30:59 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-02 12:30:59 +0200
commit96e8af2db40472fcb7838dcba09df23a082a3c10 (patch)
treebbb8765965fdc3157d181fb4058b30268b52f9c1
parent... (diff)
downloadargparser-96e8af2db40472fcb7838dcba09df23a082a3c10.tar.gz
argparser-96e8af2db40472fcb7838dcba09df23a082a3c10.tar.bz2
argparser-96e8af2db40472fcb7838dcba09df23a082a3c10.tar.xz
update dist for python 3.5
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--dist/archlinux/stable/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index 45cb1c4..7713d87 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=argparser
pkgver=5.1
-pkgrel=2
+pkgrel=3
pkgdesc="Command line argument parser library, like getopt, except better."
arch=('any')
url="https://github.com/maandree/argparser"
@@ -14,11 +14,11 @@ sha256sums=('10cbff3d7c17d5c8e99dab20e5b425e1da7625dd4090d6c904c944b8bb64195f')
build() {
cd "${srcdir}/argparser-${pkgver}"
- make DESTDIR="$pkgdir" PY3VERSION=3.4
+ make DESTDIR="$pkgdir" PY3VERSION="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1,2)"
}
package() {
cd "${srcdir}/argparser-${pkgver}"
- make DESTDIR="$pkgdir" PY3VERSION=3.4 install
+ make DESTDIR="$pkgdir" PY3VERSION="$(python -V | cut -d ' ' -f 2 | cut -d . -f 1,2)" install
}