diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-07-12 12:55:37 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-07-12 12:55:37 +0000 |
commit | bd2ad2a1773d806d29269e555d6a4490022b27ff (patch) | |
tree | b0e086afbc80055a8e8b01b5fec73a5ae34dd359 /community | |
parent | afc1f73bb8eb322322687be55baeb1211e52a85b (diff) | |
download | aports-bd2ad2a1773d806d29269e555d6a4490022b27ff.tar.bz2 aports-bd2ad2a1773d806d29269e555d6a4490022b27ff.tar.xz |
community/py-pathtools: moved from testing, changed upstream url
Diffstat (limited to 'community')
-rw-r--r-- | community/py-pathtools/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/community/py-pathtools/APKBUILD b/community/py-pathtools/APKBUILD new file mode 100644 index 0000000000..200cedf1a9 --- /dev/null +++ b/community/py-pathtools/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=py-pathtools +pkgver=0.1.2 +pkgrel=0 +pkgdesc="Path utilities for Python" +url="https://github.com/gorakhargosh/pathtools" +arch="noarch" +license="MIT" +depends="" +depends_dev="" +makedepends="$depends_dev py-setuptools python-dev" +install="" +subpackages="" +source="https://pypi.python.org/packages/e7/7f/470d6fcdf23f9f3518f6b0b76be9df16dcc8630ad409947f8be2eb0ed13a/pathtools-$pkgver.tar.gz" + +_builddir="$srcdir"/pathtools-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="9a1af5c605768ea5804b03b734ff0f82 pathtools-0.1.2.tar.gz" +sha256sums="7c35c5421a39bb82e58018febd90e3b6e5db34c5443aaaf742b3f33d4655f1c0 pathtools-0.1.2.tar.gz" +sha512sums="e014cb17f3d61ce7979e36663f94a44d4f1116c35e3d2ec8c4ac207a81935dde246495ed06597e6edade1509f384b9e5729a97ffd3eec31b1d1c4a8372d1dfd7 pathtools-0.1.2.tar.gz" |