diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-09-25 22:32:21 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-09-25 22:32:21 +0300 |
commit | c82a247edac48adfda9f721a5d6f8c3525ba8fd8 (patch) | |
tree | 74f4bf666f81d32d0a7c846e6ff89af0d2282251 /main/py-factory-boy | |
parent | d463d1589d67f322eabd49166a2bdb78de0d0a34 (diff) | |
download | aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.bz2 aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.xz |
main/py-django-oscar: moved from testing (with dependencies)
Diffstat (limited to 'main/py-factory-boy')
-rw-r--r-- | main/py-factory-boy/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/py-factory-boy/APKBUILD b/main/py-factory-boy/APKBUILD new file mode 100644 index 0000000000..5ed4e0ffb6 --- /dev/null +++ b/main/py-factory-boy/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-factory-boy +pkgver=2.4.1 +pkgrel=0 +pkgdesc="A verstile test fixtures replacement based on thoughtbot's factory_girl for Ruby" +url=https://github.com/rbarrois/factory_boy +arch=noarch +license=MIT +depends= +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/f/factory_boy/factory_boy-$pkgver.tar.gz + +_builddir=$srcdir/factory_boy-$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" + ./setup.py build +} + +package() { + cd "$_builddir" + ./setup.py install --root "$pkgdir" +} + +md5sums="bb54100b327d32b58c06648e753dfc91 factory_boy-2.4.1.tar.gz" +sha256sums="d7012499e52de5a4413e22aed51df8948533685452dfe16b41001f28f9ce5b1c factory_boy-2.4.1.tar.gz" +sha512sums="af697d2aa2469b8792d19fe0b9f5ecf63a9cc9bed8eecb9d0fed66dc4507c909815111c9d7e55350c4c3732cd6f027d3d41626dd1adbb611f50b8b9eccf49d02 factory_boy-2.4.1.tar.gz" |