diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-07 14:26:40 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-07 14:26:41 -0300 |
commit | 27ce9c7b1881f783a6e48a14528b0d7378862451 (patch) | |
tree | c9f411a02be3abc7ba5603320cdc5e065fe0aca9 /unmaintained | |
parent | 03141e114fd5416ca8df3bec598f97e4bcf287f5 (diff) | |
download | aports-27ce9c7b1881f783a6e48a14528b0d7378862451.tar.bz2 aports-27ce9c7b1881f783a6e48a14528b0d7378862451.tar.xz |
unmaintained/py-ludibrio: move from testing
- Python2 only
- No new release with python3
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/py-ludibrio/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/py-ludibrio/APKBUILD b/unmaintained/py-ludibrio/APKBUILD new file mode 100644 index 0000000000..ef544378bd --- /dev/null +++ b/unmaintained/py-ludibrio/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-ludibrio +_pkgname=ludibrio +pkgver=3.1.0 +pkgrel=0 +pkgdesc="A Platform for test doubles in Python" +url="https://github.com/nsigustavo/ludibrio" +arch="noarch" +license="GPL" +depends="python2" +depends_dev="" +makedepends="python2-dev py-setuptools" +install="" +subpackages="" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$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" + python2 setup.py build || return 1 +} + +package() { + cd "$_builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="d83f752b7cad8baa9c6b6aa92605cab3 ludibrio-3.1.0.tar.gz" +sha256sums="271a2a866b00a059d9330dc1213d182731121c83088a42f6b3e7f24777b522db ludibrio-3.1.0.tar.gz" +sha512sums="7a29f30761ef376960131a04f5b6321a548a29bde0f95087bc6c7138ef50f93d1fb2ac34e8aef7bfa3d4bf852cf07e0edda5f25d3e1d53e8c9359ba4f4e65580 ludibrio-3.1.0.tar.gz" |