summaryrefslogtreecommitdiff
path: root/python-sphinxcontrib-programoutput
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-08-07 08:05:47 +0200
committerErich Eckner <git@eckner.net>2018-08-07 08:08:20 +0200
commitefc22702de0ff7fa08783283555af19359eafe8b (patch)
tree445c8511b65f62a649a4128868720eea497f100d /python-sphinxcontrib-programoutput
parentadc8fff0989b8783bb022e68a87d1bf4b0d49d0a (diff)
downloadarchlinuxewe.git.save-efc22702de0ff7fa08783283555af19359eafe8b.tar.xz
recompile all python packages
Diffstat (limited to 'python-sphinxcontrib-programoutput')
-rw-r--r--python-sphinxcontrib-programoutput/PKGBUILD26
1 files changed, 19 insertions, 7 deletions
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}"