From 4e1d4f1f5d02d2c2fe61ec9869b2b7aceb87ee5b Mon Sep 17 00:00:00 2001 From: prspkt Date: Sun, 31 Mar 2019 23:26:06 +0300 Subject: testing/py-dpath: upgrade to python3 --- testing/py-dpath/APKBUILD | 27 --------------------------- testing/py3-dpath/APKBUILD | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 27 deletions(-) delete mode 100644 testing/py-dpath/APKBUILD create mode 100644 testing/py3-dpath/APKBUILD (limited to 'testing') diff --git a/testing/py-dpath/APKBUILD b/testing/py-dpath/APKBUILD deleted file mode 100644 index 8b341a38ea..0000000000 --- a/testing/py-dpath/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Fabian Affolter -# Maintainer: Fabian Affolter -pkgname=py-dpath -_pkgname=dpath -pkgver=1.4.2 -pkgrel=0 -pkgdesc="Filesystem-like pathing and searching for dictionaries" -url="https://www.github.com/akesterson/dpath-python" -arch="noarch" -license="MIT" -depends="python2" -makedepends="python2-dev py-setuptools" -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 -} - -package() { - cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" -} - -sha512sums="8b868ba63a810ef18a58a6452cf6f30eeeee44ea4bd27dbc7d0efcce116adcbb3e2793e89bf94a5aa2d8ec893f96c32dd523f102e5a0da5124a88c7d1dff00d2 dpath-1.4.2.tar.gz" diff --git a/testing/py3-dpath/APKBUILD b/testing/py3-dpath/APKBUILD new file mode 100644 index 0000000000..2066a137d0 --- /dev/null +++ b/testing/py3-dpath/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=py3-dpath +_pkgname=dpath +pkgver=1.4.2 +pkgrel=0 +pkgdesc="Filesystem-like pathing and searching for dictionaries" +url="https://www.github.com/akesterson/dpath-python" +arch="noarch" +license="MIT" +provides="py-dpath" # for backwards compatibility +replaces="py-dpath=$pkgver-r$pkgrel" # for backwards compatibility +depends="python3" +makedepends="python3-dev py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="8b868ba63a810ef18a58a6452cf6f30eeeee44ea4bd27dbc7d0efcce116adcbb3e2793e89bf94a5aa2d8ec893f96c32dd523f102e5a0da5124a88c7d1dff00d2 dpath-1.4.2.tar.gz" -- cgit v1.2.3