From efc22702de0ff7fa08783283555af19359eafe8b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 7 Aug 2018 08:05:47 +0200 Subject: recompile all python packages --- python-sphinxcontrib-programoutput/PKGBUILD | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'python-sphinxcontrib-programoutput') diff --git a/python-sphinxcontrib-programoutput/PKGBUILD b/python-sphinxcontrib-programoutput/PKGBUILD index 64c6155b..6081fa92 100644 --- a/python-sphinxcontrib-programoutput/PKGBUILD +++ b/python-sphinxcontrib-programoutput/PKGBUILD @@ -5,11 +5,19 @@ pkgbase=python-sphinxcontrib-programoutput pkgname=(python2-sphinxcontrib-programoutput python-sphinxcontrib-programoutput) _pkgname=sphinxcontrib-programoutput pkgver=0.11 -pkgrel=1 +pkgrel='2' pkgdesc="Sphinx extension to include program output" arch=('any') url="https://bitbucket.org/birkenfeld/sphinx-contrib" license=('BSD') +_deppy2=( + 'python2>=2.7' + 'python2<2.8' +) +_deppy=( + 'python>=3.7' + 'python<3.8' +) _depends=( 'python') _makedepends=( @@ -22,10 +30,12 @@ source=( source=(https://pypi.python.org/packages/25/34/fd1b61d3fe9ea705dff169d55426bf23d8be0f7b1976d17e79fbcc16e7d9/${_pkgname}-${pkgver}.tar.gz) sha512sums=('4aa655f8632093035de986fa31291f95e95c4c0f4d1458bb8c8cc077cca73d579b16a8bf103d7b34faafb2171c617c40200008d89186f8ed37a812459f0376cf') makedepends=( - ${_makedepends[@]} - ${_makedepends[@]/python/python2} - ${_depends[@]} - ${_depends[@]/python/python2} + "${_deppy[@]}" + "${_deppy2[@]}" + "${_makedepends[@]}" + "${_makedepends[@]/python/python2}" + "${_depends[@]}" + "${_depends[@]/python/python2}" ) prepare() { @@ -43,7 +53,8 @@ build() { package_python2-sphinxcontrib-programoutput() { depends=( - ${_depends[@]/python/python2} + "${_deppy2[@]}" + "${_depends[@]/python/python2}" ) cd "${srcdir}/py2-${_pkgname}-${pkgver}" @@ -54,7 +65,8 @@ package_python2-sphinxcontrib-programoutput() { package_python-sphinxcontrib-programoutput() { depends=( - ${_depends[@]} + "${_deppy2[@]}" + "${_depends[@]}" ) cd "${srcdir}/py-${_pkgname}-${pkgver}" -- cgit v1.2.3-54-g00ecf