diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-16 11:28:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-04-17 11:45:51 +0000 |
commit | fbb466fe5df72f905a4d8abc3e668547c0509632 (patch) | |
tree | 88f88fb10b11fa758da41ac5cfcb82b1eecfed6d /testing/py-traceback2 | |
parent | bda5daeabea593ba9ea03c9b48e551119acbd1b2 (diff) | |
download | aports-fbb466fe5df72f905a4d8abc3e668547c0509632.tar.bz2 aports-fbb466fe5df72f905a4d8abc3e668547c0509632.tar.xz |
testing/py-traceback2: rebuild against python 3.7
Diffstat (limited to 'testing/py-traceback2')
-rw-r--r-- | testing/py-traceback2/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testing/py-traceback2/APKBUILD b/testing/py-traceback2/APKBUILD index 333e094da6..d4813784fb 100644 --- a/testing/py-traceback2/APKBUILD +++ b/testing/py-traceback2/APKBUILD @@ -3,12 +3,12 @@ pkgname=py-traceback2 _pkgname=${pkgname#py-*} pkgver=1.4.0 -pkgrel=0 +pkgrel=1 pkgdesc="Backport of the Python3 stdlib traceback module" url="https://github.com/testing-cabal/traceback2" arch="noarch" license="PSF" -makedepends="python2-dev python3-dev py-setuptools" +makedepends="python2-dev python3-dev py-setuptools py-pbr" subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" options="!check" # temp disable until py2-unittest2 is in repos #checkdepends="py2-contextlib2 py-fixtures py-testtools py2-unittest2 py2-linecache2 py-extras" @@ -17,6 +17,8 @@ builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" + git init # workaround python pbr picking up the git version from aports + python2 setup.py build python3 setup.py build } |