aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-toml
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-04-12 07:21:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-04-17 11:45:42 +0000
commit741c2f5c822c49747c29d0b6fbaae3bf1134a104 (patch)
tree8505d7a0fc2c4048c23c1730096cafbd95a16faa /testing/py-toml
parent76e91596ba480069989e69ffcd2fff7368c509b6 (diff)
downloadaports-741c2f5c822c49747c29d0b6fbaae3bf1134a104.tar.bz2
aports-741c2f5c822c49747c29d0b6fbaae3bf1134a104.tar.xz
testing/py-pytoml: add check, rename, upgrade
Diffstat (limited to 'testing/py-toml')
-rw-r--r--testing/py-toml/APKBUILD47
1 files changed, 0 insertions, 47 deletions
diff --git a/testing/py-toml/APKBUILD b/testing/py-toml/APKBUILD
deleted file mode 100644
index c2e9c2c1fd..0000000000
--- a/testing/py-toml/APKBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
-# Maintainer:
-pkgname=py-toml
-_pkgname=pytoml
-pkgver=0.1.14
-pkgrel=0
-pkgdesc="A TOML-0.4.0 parser/writer for Python"
-url="https://github.com/avakar/pytoml"
-arch="all"
-license="MIT"
-depends=""
-makedepends="python2-dev python3-dev py-setuptools"
-install=""
-subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-source="$pkgname-$pkgver.tar.gz::https://github.com/avakar/$_pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
-
-build() {
- cd "$builddir"
- python2 setup.py build
- python3 setup.py build
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
-
- cd "$builddir"
- $python setup.py install --prefix=/usr \
- --root="$subpkgdir" --optimize=1
-}
-
-_py2() {
- replaces="$pkgname"
- _py python2
-}
-
-_py3() {
- _py python3
-}
-
-sha512sums="1a608dfa563ebf979bd72b7fad755d3c02afbda6cff99a0ed9a36ca8eecaaea5f89b7b39ff1f5204dd7302e8957c8304dbc4c221e56589c7654edc0fe93f3178 py-toml-0.1.14.tar.gz"