diff options
author | prspkt <prspkt@protonmail.com> | 2019-06-14 19:55:14 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-06-14 19:55:14 +0300 |
commit | 7719b4164a7afec0ce8f3a3d1f098648b4b44669 (patch) | |
tree | 1fd31a332a0f26ad0fefae8174b9e2bfa234202d /testing/py-feedgenerator | |
parent | 5c80a89db33bb296f122c88942c13c7548b06f21 (diff) | |
download | aports-7719b4164a7afec0ce8f3a3d1f098648b4b44669.tar.bz2 aports-7719b4164a7afec0ce8f3a3d1f098648b4b44669.tar.xz |
testing/py-feedgenerator: drop python2
Diffstat (limited to 'testing/py-feedgenerator')
-rw-r--r-- | testing/py-feedgenerator/APKBUILD | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/testing/py-feedgenerator/APKBUILD b/testing/py-feedgenerator/APKBUILD deleted file mode 100644 index 12d0e07a3f..0000000000 --- a/testing/py-feedgenerator/APKBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-feedgenerator -_pkgname=feedgenerator -pkgver=1.9 -pkgrel=2 -pkgdesc="A Python feed generator" -url="https://github.com/getpelican/feedgenerator" -arch="noarch" -license="GPL-3.0-or-later" -depends="py-six py-tz" -makedepends="python2-dev py-setuptools python3-dev" -subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$_pkgname-$pkgver - -build() { - cd "$builddir" - python2 setup.py build || return 1 - python3 setup.py build || return 1 -} - -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" -} - -md5sums="f542f4098dbb5c63a94c88cbfc727778 feedgenerator-1.9.tar.gz" -sha256sums="5ae05daa9cfa47fa406ee4744d0b7fa1c8a05a7a47ee0ad328ddf55327cfb106 feedgenerator-1.9.tar.gz" -sha512sums="77f4df51c6bdf261f0d1665206ab048a21f8660cf8f2c7abf3d71e17c63284240d0eaa690dd6d53b0b7d8ce9c9e0349094d5270c75c2a069608b7717538d7fa1 feedgenerator-1.9.tar.gz" |