diff options
author | prspkt <prspkt@protonmail.com> | 2019-05-29 01:47:39 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-05-29 01:53:40 +0300 |
commit | d450561fbcaef3aef9c2268649eb9a9a4e78c882 (patch) | |
tree | 9bed6257d74d62a598e7895cb2ff2274aa56309e /testing/py-sphinx-theme-quark | |
parent | 2304ca425536f4f214d34da7dcf3dd6d8ddfc9d2 (diff) | |
download | aports-d450561fbcaef3aef9c2268649eb9a9a4e78c882.tar.bz2 aports-d450561fbcaef3aef9c2268649eb9a9a4e78c882.tar.xz |
testing/py-sphinx-theme-quark: drop python2
Diffstat (limited to 'testing/py-sphinx-theme-quark')
-rw-r--r-- | testing/py-sphinx-theme-quark/APKBUILD | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/testing/py-sphinx-theme-quark/APKBUILD b/testing/py-sphinx-theme-quark/APKBUILD deleted file mode 100644 index abad764822..0000000000 --- a/testing/py-sphinx-theme-quark/APKBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Contributor: Francesco Colista <fcolista@alpinelinux.org> -# Maintainer: Francesco Colista <fcolista@alpinelinux.org> -pkgname=py-sphinx-theme-quark -_pkgname=quark-sphinx-theme -pkgver=0.5.0 -pkgrel=1 -pkgdesc="A Sphinx theme for Qt toolkit’s QTextBrowser" -url=" https://bitbucket.org/fk/quark-sphinx-theme" -arch="noarch" -license="BSD" -depends="py-sphinx" -makedepends="python2-dev python3-dev py-setuptools" -checkdepends="py-mock" -subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" -source="https://pypi.python.org/packages/30/e7/2c9b618589dee281bd7991bbe7ee2fa8fb76ac0f91a5b8fa74134f6c4f00/$_pkgname-$pkgver.tar.bz2" -builddir="$srcdir"/$_pkgname-$pkgver - -build() { - cd "$builddir" - python2 setup.py build - python3 setup.py build -} - -check() { - cd "$builddir" - python2 setup.py test - python3 setup.py test -} - -package() { - mkdir -p "$pkgdir" -} - -_py2() { - replaces="$pkgname" - depends="${depends//py-/py2-}" - _py python2 -} - -_py3() { - depends="${depends//py-/py3-}" - _py python3 -} - -_py() { - local python="$1" - pkgdesc="$pkgdesc (for $python)" - depends="$depends $python" - install_if="$pkgname=$pkgver-r$pkgrel $python" - - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -sha512sums="526b21fc013af43fef70a421fca20a5c349aa80e1b70c9fe69046e865921868f05af93d340263b0a2171d8d2c21de5ca10b80308dc1055e0e079e723bc93962a quark-sphinx-theme-0.5.0.tar.bz2" |