aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2019-04-05 12:42:13 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-04-05 12:42:59 +0000
commitf23237c3ff3ce318fbc29bbd2035fd19f8e0fc56 (patch)
tree6ff210d14b27183c7988074cb1a7462a753136fb /testing
parent0a38b8cb4a3cf4974cbe7a544e094e0d30dfbb93 (diff)
downloadaports-f23237c3ff3ce318fbc29bbd2035fd19f8e0fc56.tar.bz2
aports-f23237c3ff3ce318fbc29bbd2035fd19f8e0fc56.tar.xz
testing/py-cssselect: remove python2-only package
Diffstat (limited to 'testing')
-rw-r--r--testing/py-cssselect/APKBUILD44
1 files changed, 0 insertions, 44 deletions
diff --git a/testing/py-cssselect/APKBUILD b/testing/py-cssselect/APKBUILD
deleted file mode 100644
index 359a187fac..0000000000
--- a/testing/py-cssselect/APKBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# Contributor: Francesco Colista <fcolista@alpinelinux.org>
-# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
-pkgname=py-cssselect
-_pkgname=cssselect
-pkgver=1.0.3
-pkgrel=0
-pkgdesc="A Python library that parses CSS3 Selectors and translates them to XPath 1.0"
-url="http://pypi.python.org/pypi/cssselect"
-arch="noarch"
-license="BSD"
-makedepends="python2-dev python3-dev py-setuptools"
-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
-
-build() {
- cd "$builddir"
- python2 setup.py build || return 1
- python3 setup.py build || return 1
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-
-_py() {
- local python=$1
- pkgdesc="$pkgdesc - $python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
- cd "$builddir"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-_py2() {
- _py python2
- replaces="$pkgname"
-}
-
-_py3() {
- _py python3
-}
-
-sha512sums="dec659e17d378b2afc23aecd59ccb80538c92978dd9622b9d909d398817a6dadcd28957c5983e7930135ca73ed0aad402617e41bc65088aa4a5b15c4324cadb0 cssselect-1.0.3.tar.gz"