From 96e8af2db40472fcb7838dcba09df23a082a3c10 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 2 Oct 2015 12:30:59 +0200 Subject: update dist for python 3.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- dist/archlinux/stable/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dist/archlinux/stable/PKGBUILD') 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 } -- cgit v1.2.3-70-g09d2