From a20bac507e34cf878cb23e469b7e8cd93750b1f0 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Mon, 23 Oct 2017 11:21:55 +0200 Subject: community/py-ruffus: move to community --- community/py-ruffus/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ testing/py-ruffus/APKBUILD | 44 -------------------------------------------- 2 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 community/py-ruffus/APKBUILD delete mode 100644 testing/py-ruffus/APKBUILD diff --git a/community/py-ruffus/APKBUILD b/community/py-ruffus/APKBUILD new file mode 100644 index 0000000000..045eefaa48 --- /dev/null +++ b/community/py-ruffus/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Carlo Landmeter +# Maintainer: Carlo Landmeter +pkgname=py-ruffus +pkgver=2.6.3 +pkgrel=0 +pkgdesc="A lightweight Python library for computational pipelines." +url="http://www.ruffus.org.uk/" +arch="noarch" +license="MIT" +makedepends="python2-dev python3-dev py-setuptools" +subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" +source="https://pypi.python.org/packages/source/r/ruffus/ruffus-$pkgver.tar.gz" +builddir="$srcdir/ruffus-$pkgver" + +build() { + cd "$builddir" + python2 setup.py build + python3 setup.py build +} + +package() { + mkdir -p "$pkgdir" +} + +_py2() { + replaces="$pkgname" + _py python2 +} + +_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="47d9090d51bda9bb8a14b1c874fd5980e52380cff707719760b1ce4c81f6ed6b7eceb8c37530ede7725bdec12e0a958e8f4a95f7acc1d6a75d907260c5f42d81 ruffus-2.6.3.tar.gz" diff --git a/testing/py-ruffus/APKBUILD b/testing/py-ruffus/APKBUILD deleted file mode 100644 index ef17759cfb..0000000000 --- a/testing/py-ruffus/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Contributor: Carlo Landmeter -# Maintainer: -pkgname=py-ruffus -pkgver=2.6.3 -pkgrel=0 -pkgdesc="A lightweight Python library for computational pipelines." -url="http://www.ruffus.org.uk/" -arch="noarch" -license="MIT" -makedepends="python2-dev python3-dev py-setuptools" -subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" -source="https://pypi.python.org/packages/source/r/ruffus/ruffus-$pkgver.tar.gz" -builddir="$srcdir/ruffus-$pkgver" - -build() { - cd "$builddir" - python2 setup.py build - python3 setup.py build -} - -package() { - mkdir -p "$pkgdir" -} - -_py2() { - replaces="$pkgname" - _py python2 -} - -_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="47d9090d51bda9bb8a14b1c874fd5980e52380cff707719760b1ce4c81f6ed6b7eceb8c37530ede7725bdec12e0a958e8f4a95f7acc1d6a75d907260c5f42d81 ruffus-2.6.3.tar.gz" -- cgit v1.2.3