summaryrefslogtreecommitdiff
path: root/packaging/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/PKGBUILD')
-rwxr-xr-xpackaging/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/PKGBUILD b/packaging/PKGBUILD
index 60ffa9f6..b26bbb70 100755
--- a/packaging/PKGBUILD
+++ b/packaging/PKGBUILD
@@ -8,7 +8,7 @@ url="https://honk.sigxcpu.org/piki/projects/git-buildpackage/"
license=('GPLv2')
conflicts=('git-buildpackage')
provides=('git-buildpackage')
-makedepends=('python2-distribute' 'gtk-doc' 'docbook-sgml' 'docbook-utils')
+makedepends=('python3-distribute' 'gtk-doc' 'docbook-sgml' 'docbook-utils')
source=(git-buildpackage_${pkgver}.tar.gz)
sha256sums=(SKIP)
@@ -24,7 +24,7 @@ prepare()
build() {
cd $srcdir/$pkgbase-$pkgver
WITHOUT_NOSETESTS=1 \
- python2 setup.py build
+ python3 setup.py build
# Prepare apidocs
epydoc -n git-buildpackage --no-sourcecode -o docs/apidocs/ \
@@ -36,12 +36,12 @@ build() {
package_git-buildpackage-common() {
depends=('man-db'
- 'python2'
+ 'python3'
'git')
optdepends=('pristine-tar: regenerate pristine tarballs')
cd $srcdir/$pkgbase-$pkgver
WITHOUT_NOSETESTS=1 \
- python2 setup.py install \
+ python3 setup.py install \
--root="$pkgdir" \
--prefix=/usr \
-O1
@@ -56,7 +56,7 @@ package_git-buildpackage-rpm() {
provides=("tizen-gbp-rpm=20160302")
cd $srcdir/$pkgbase-$pkgver
WITHOUT_NOSETESTS=1 \
- python2 setup.py install \
+ python3 setup.py install \
--root="$pkgdir" \
--prefix=/usr \
-O1