diff options
Diffstat (limited to 'testing/py-beautifulsoup4/APKBUILD')
-rw-r--r-- | testing/py-beautifulsoup4/APKBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/testing/py-beautifulsoup4/APKBUILD b/testing/py-beautifulsoup4/APKBUILD index 809d9678f3..e05726c35a 100644 --- a/testing/py-beautifulsoup4/APKBUILD +++ b/testing/py-beautifulsoup4/APKBUILD @@ -11,7 +11,7 @@ license="MIT" makedepends="python2-dev py-setuptools python3-dev" subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -builddir="$srcdir"/$_pkgname-$pkgver +builddir="$srcdir/$_pkgname-$pkgver" prepare() { default_prepare @@ -44,19 +44,17 @@ package() { _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" + depends="$python" install_if="$pkgname=$pkgver-r$pkgrel $python" cd "$builddir-$python" |