aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-19 17:31:28 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-19 18:03:35 +0100
commit99c869f90ea0fec5bd8bd7a00de7fde0ed7b3c25 (patch)
treee014ff27a92bbe356d1ef06c7ce85580694a37a2
parent625e55416308d0edf9b31d43f5656a9ebb8ff6e6 (diff)
downloadaports-99c869f90ea0fec5bd8bd7a00de7fde0ed7b3c25.tar.bz2
aports-99c869f90ea0fec5bd8bd7a00de7fde0ed7b3c25.tar.xz
main/py-typing: remove
- Not required for python 3.5+
-rw-r--r--main/py-typing/APKBUILD56
1 files changed, 0 insertions, 56 deletions
diff --git a/main/py-typing/APKBUILD b/main/py-typing/APKBUILD
deleted file mode 100644
index 4d6b7d9406..0000000000
--- a/main/py-typing/APKBUILD
+++ /dev/null
@@ -1,56 +0,0 @@
-# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
-# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
-pkgname=py-typing
-_pkgname=typing
-pkgver=3.7.4.1
-pkgrel=1
-pkgdesc="Typing – Type Hints for Python"
-url="https://pypi.python.org/pypi/typing/"
-arch="noarch"
-license="PSF"
-# Tests are missing in the release tarball
-options="!check"
-makedepends="py3-setuptools py-setuptools"
-subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-source="$pkgname-$pkgver.tar.gz::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
- 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="5f5080bf66b1de094b7984ed3d1de22651de8ca018ffde927dfa67fe65b13f91602a877faa24e73d44558638b609be276b924b894d63999bb93b0657a2d5ec6e py-typing-3.7.4.1.tar.gz"