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 | |
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')
-rw-r--r-- | main/py-babel/APKBUILD | 37 | ||||
-rw-r--r-- | main/py-django-appconf/APKBUILD | 37 | ||||
-rw-r--r-- | main/py-django-compressor/APKBUILD | 37 | ||||
-rw-r--r-- | main/py-django-extra-views/APKBUILD | 37 | ||||
-rw-r--r-- | main/py-django-haystack/APKBUILD | 37 | ||||
-rw-r--r-- | main/py-django-oscar/APKBUILD | 46 | ||||
-rw-r--r-- | main/py-django-oscar/fi-django.mo | bin | 0 -> 139889 bytes | |||
-rw-r--r-- | main/py-django-sorl-thumbnail/APKBUILD | 37 | ||||
-rw-r--r-- | main/py-django-tables2/APKBUILD | 37 | ||||
-rw-r--r-- | main/py-django-treebeard/APKBUILD | 37 | ||||
-rw-r--r-- | main/py-django-widget-tweaks/APKBUILD | 37 | ||||
-rw-r--r-- | main/py-factory-boy/APKBUILD | 37 | ||||
-rw-r--r-- | main/py-mock/APKBUILD | 41 | ||||
-rw-r--r-- | main/py-phonenumbers/APKBUILD | 41 | ||||
-rw-r--r-- | main/py-purl/APKBUILD | 41 | ||||
-rw-r--r-- | main/py-tz/APKBUILD | 41 |
16 files changed, 580 insertions, 0 deletions
diff --git a/main/py-babel/APKBUILD b/main/py-babel/APKBUILD new file mode 100644 index 0000000000..5078c5c90a --- /dev/null +++ b/main/py-babel/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-babel +pkgver=1.3 +pkgrel=0 +pkgdesc="Python i18n tool" +url=http://babel.pocoo.org/ +arch=noarch +license=BSD +depends=py-tz +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/B/Babel/Babel-$pkgver.tar.gz + +_builddir=$srcdir/Babel-$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 +} + +package() { + cd "$_builddir" + python setup.py install --root "$pkgdir" +} + +md5sums="5264ceb02717843cbc9ffce8e6e06bdb Babel-1.3.tar.gz" +sha256sums="9f02d0357184de1f093c10012b52e7454a1008be6a5c185ab7a3307aceb1d12e Babel-1.3.tar.gz" +sha512sums="3173d578c36d7a20d14ffcf6406ec9fe301e71a199069b3d2e53bd0c66e7f83d6e94f071dc08f2708202ec1ace4d14f4476234cc8347a37b05317302f0cfe0cf Babel-1.3.tar.gz" diff --git a/main/py-django-appconf/APKBUILD b/main/py-django-appconf/APKBUILD new file mode 100644 index 0000000000..a1293f95d7 --- /dev/null +++ b/main/py-django-appconf/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-appconf +pkgver=1.0.1 +pkgrel=0 +pkgdesc="Packaged application configuation helper for Django" +url=http://django-appconf.readthedocs.org/ +arch=noarch +license=BSD +depends="py-django py-six" +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/d/django-appconf/django-appconf-$pkgver.tar.gz + +_builddir=$srcdir/django-appconf-$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 +} + +package() { + cd "$_builddir" + python setup.py install --root "$pkgdir" +} + +md5sums="29c87a00f0d098b90f3ac6113ae6e52d django-appconf-1.0.1.tar.gz" +sha256sums="ba1375fb1024e8e91547504d4392321795c989fde500b96ebc7c93884f786e60 django-appconf-1.0.1.tar.gz" +sha512sums="b6075bed0372f7f9da7c7af49124a08a2d119533ea15b284529166bcc09e61a541ce179a696dd426a9323ea1874c219880869ef7934345f4d40b1b3201eb2c6d django-appconf-1.0.1.tar.gz" diff --git a/main/py-django-compressor/APKBUILD b/main/py-django-compressor/APKBUILD new file mode 100644 index 0000000000..1cd2eaf7a0 --- /dev/null +++ b/main/py-django-compressor/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-compressor +pkgver=1.5 +pkgrel=0 +pkgdesc="JavaScript and CSS compressor for Django" +url=https://github.com/django-compressor/django-compressor +arch=noarch +license="MIT and ASL 2.0 and BSD" +depends="py-django py-django-appconf" +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/d/django_compressor/django_compressor-$pkgver.tar.gz + +_builddir=$srcdir/django_compressor-$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 +} + +package() { + cd "$_builddir" + python setup.py install --root "$pkgdir" +} + +md5sums="274dd82a45ddd13e111852dd101a5924 django_compressor-1.5.tar.gz" +sha256sums="0189fd1dbf87d802f4e4e21ebc9220f29bbb7771b252a958ad6119f61453e22e django_compressor-1.5.tar.gz" +sha512sums="962efe6d39328306005b8d9212cb2d07b50d4bed896d1344cccbb910286f58cd12ae1f264367ba0adb02940acd7b00c2afd5fdeef4210a4d789626183e3d7a5a django_compressor-1.5.tar.gz" diff --git a/main/py-django-extra-views/APKBUILD b/main/py-django-extra-views/APKBUILD new file mode 100644 index 0000000000..d3c2f50752 --- /dev/null +++ b/main/py-django-extra-views/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-extra-views +pkgver=0.6.4 +pkgrel=0 +pkgdesc="Extra class-based views for Django" +url=https://github.com/AndrewIngram/django-extra-views +arch=noarch +license=MIT +depends=py-django +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/d/django-extra-views/django-extra-views-$pkgver.tar.gz + +_builddir=$srcdir/django-extra-views-$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 +} + +package() { + cd "$_builddir" + python setup.py install --root "$pkgdir" +} + +md5sums="45c97d2d3e9cd4a2a3e75db23dd14c98 django-extra-views-0.6.4.tar.gz" +sha256sums="b34764361f71ad2758cda13baae292bf0f5b1f2daf28353f916c457a98484aa5 django-extra-views-0.6.4.tar.gz" +sha512sums="09789f4d999f671cda2d5893239c645e74d291c3fc5a07887a87fbaee09fa3821413d14b3c8b431e4c607581ba2f6328926ee39806158aee0145a0ce9ee23b0a django-extra-views-0.6.4.tar.gz" diff --git a/main/py-django-haystack/APKBUILD b/main/py-django-haystack/APKBUILD new file mode 100644 index 0000000000..66d8111fb8 --- /dev/null +++ b/main/py-django-haystack/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-haystack +pkgver=2.3.1 +pkgrel=0 +pkgdesc="Modular search for Django" +url=http://haystacksearch.org/ +arch=noarch +license=BSD +depends=py-django +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/d/django-haystack/django-haystack-$pkgver.tar.gz + +_builddir=$srcdir/django-haystack-$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 +} + +package() { + cd "$_builddir" + python setup.py install --root "$pkgdir" +} + +md5sums="4c5dc665c1e82701a95168442e2510cd django-haystack-2.3.1.tar.gz" +sha256sums="a30df888ee0da32c4837c328ecf859e992edb6d185efa7d49341cc1949dbb24d django-haystack-2.3.1.tar.gz" +sha512sums="c051523a63f32e066e3d8c83ef5cc9eec77a969801f57a0826073317c4d80bb24a67b4487638d38028ae288d9698d32483b2755f171a1b3cbb66f13b2b28a623 django-haystack-2.3.1.tar.gz" diff --git a/main/py-django-oscar/APKBUILD b/main/py-django-oscar/APKBUILD new file mode 100644 index 0000000000..0565c208d9 --- /dev/null +++ b/main/py-django-oscar/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-oscar +pkgver=1.1.1 +pkgrel=0 +pkgdesc="Domain-driven e-commerce for Django" +url=http://oscarcommerce.com/ +arch=noarch +license=BSD +depends="py-babel py-django py-django-compressor py-django-extra-views + py-django-haystack py-django-sorl-thumbnail py-django-tables2 + py-django-treebeard py-django-widget-tweaks py-factory-boy py-mock + py-phonenumbers py-pillow py-purl py-unidecode" +makedepends=py-setuptools +source="https://pypi.python.org/packages/source/d/django-oscar/django-oscar-$pkgver.tar.gz + fi-django.mo" + +_builddir=$srcdir/django-oscar-$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 + + cp -v "$srcdir/fi-django.mo" src/oscar/locale/fi/LC_MESSAGES/django.mo +} + +build() { + cd "$_builddir" + ./setup.py build +} + +package() { + cd "$_builddir" + ./setup.py install --root "$pkgdir" +} + +md5sums="6e4137e1dda326b2ccf410eee5530c71 django-oscar-1.1.1.tar.gz +ff0a1a2d4de717c5d273ab3670d77a7d fi-django.mo" +sha256sums="61771da93e10f3a51c80ce54e2736202e60a58ada50317d7fa110f5d1410cdf5 django-oscar-1.1.1.tar.gz +cac43ae6e475de7a4fab12df871f4f3d654c4def109aef77c45a654df1f39e1d fi-django.mo" +sha512sums="4f94021b169970585f1407aa90538053cbcfc78c3946dc7a107c91cc2970ac3ddbbd4eaf34327748fbc62e5e7c52d311a62c2fd80e4e760ab654b4b075eec215 django-oscar-1.1.1.tar.gz +ed72ed185e1e5da4f9174ded619ca7b39d2ed096b2a49d34967f970545a598a3a4e344095c61f84b7c4ccbbc37988bf8836988897fc98ea70ee9760a1d61796c fi-django.mo" diff --git a/main/py-django-oscar/fi-django.mo b/main/py-django-oscar/fi-django.mo Binary files differnew file mode 100644 index 0000000000..4bbda12a7f --- /dev/null +++ b/main/py-django-oscar/fi-django.mo diff --git a/main/py-django-sorl-thumbnail/APKBUILD b/main/py-django-sorl-thumbnail/APKBUILD new file mode 100644 index 0000000000..d668240ccf --- /dev/null +++ b/main/py-django-sorl-thumbnail/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-sorl-thumbnail +pkgver=11.12.1b +pkgrel=0 +pkgdesc="Thumbnails for Django" +url=https://github.com/mariocesar/sorl-thumbnail +arch=noarch +license=BSD +depends="py-django py-pillow" +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/s/sorl-thumbnail/sorl-thumbnail-$pkgver.tar.gz + +_builddir=$srcdir/sorl-thumbnail-$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 +} + +package() { + cd "$_builddir" + python setup.py install --root "$pkgdir" +} + +md5sums="3e1392b79f7e4b6dc4046f5efc00297f sorl-thumbnail-11.12.1b.tar.gz" +sha256sums="6b309388f4c4fbbeec6813ccb3c321ba3245ef2b7de044ed7b26853ec75c05f3 sorl-thumbnail-11.12.1b.tar.gz" +sha512sums="6907ac0034139b6b30614238322916a002c6eaf9ff3e8d5bc6dd4e0c1e9ecbee95b9e7bc8fc12af97f04c1af035db974e24083acd3110f8a4f7f2f2e3d877e95 sorl-thumbnail-11.12.1b.tar.gz" diff --git a/main/py-django-tables2/APKBUILD b/main/py-django-tables2/APKBUILD new file mode 100644 index 0000000000..c516228cf0 --- /dev/null +++ b/main/py-django-tables2/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-tables2 +pkgver=1.0.4 +pkgrel=0 +pkgdesc="Table/data-grid framework for Django" +url=https://github.com/bradleyayers/django-tables2/ +arch=noarch +license=BSD +depends=py-django +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/d/django-tables2/django-tables2-$pkgver.tar.gz + +_builddir=$srcdir/django-tables2-$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="5ae7992ac161485a9d2546346e61c284 django-tables2-1.0.4.tar.gz" +sha256sums="801b1df349f07f5b548cf4b3d5cddfc26e5969079c7d490f179fb649e76d24af django-tables2-1.0.4.tar.gz" +sha512sums="ae1381ab23b93759caef259b5063c2149a71c9a808bc4f0a621de454872b354d03e8d7002a95de693e4d3c456366341ac30f200edac069244a0b97d156295953 django-tables2-1.0.4.tar.gz" diff --git a/main/py-django-treebeard/APKBUILD b/main/py-django-treebeard/APKBUILD new file mode 100644 index 0000000000..71db687862 --- /dev/null +++ b/main/py-django-treebeard/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-treebeard +pkgver=3.0 +pkgrel=0 +pkgdesc="Efficient tree implementations for Django" +url=https://tabo.pe/projects/django-treebeard/ +arch=noarch +license="ASL 2.0" +depends=py-django +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/d/django-treebeard/django-treebeard-$pkgver.tar.gz + +_builddir=$srcdir/django-treebeard-$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 +} + +package() { + cd "$_builddir" + python setup.py install --root "$pkgdir" +} + +md5sums="3fcc74669c1735c6ab1081c3416e419c django-treebeard-3.0.tar.gz" +sha256sums="ac9935d855359951f1a9c51904f55f2a1b1b41930ea472ded78cfd50c5cae982 django-treebeard-3.0.tar.gz" +sha512sums="9c15dd75142a36cbd73d09c1f677f9875f67dc809178aeec79fab817a2ec60dc4afb0ca81ffa818be489d4bb1190299197e0f9b7d90e704428ca6c3fc6bf0a61 django-treebeard-3.0.tar.gz" diff --git a/main/py-django-widget-tweaks/APKBUILD b/main/py-django-widget-tweaks/APKBUILD new file mode 100644 index 0000000000..41edc63b1c --- /dev/null +++ b/main/py-django-widget-tweaks/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-widget-tweaks +pkgver=1.4.1 +pkgrel=0 +pkgdesc="Tweak the form field rendering in templates, not in python-level form definitions" +url=https://github.com/kmike/django-widget-tweaks +arch=noarch +license=MIT +depends=py-django +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/d/django-widget-tweaks/django-widget-tweaks-$pkgver.tar.gz + +_builddir=$srcdir/django-widget-tweaks-$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="2ecbb8002e3c178ba0e6d2fe4a9e5798 django-widget-tweaks-1.4.1.tar.gz" +sha256sums="0baee0b905286fde028fdbd0dd1d985d4656dab472b0fd4ca4cd556ee38a047e django-widget-tweaks-1.4.1.tar.gz" +sha512sums="699e8ad8fb44355e07e560b698429d8b242e933bbb690cce182b85fce65cdba0ac1d2a28bc723a24db1954d690b35d31b99c39fc9779fd3018869896effba645 django-widget-tweaks-1.4.1.tar.gz" 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" diff --git a/main/py-mock/APKBUILD b/main/py-mock/APKBUILD new file mode 100644 index 0000000000..14a18d55bb --- /dev/null +++ b/main/py-mock/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-mock +_pkgname=mock +pkgver=1.0.1 +pkgrel=0 +pkgdesc="A Python Mocking and Patching Library for Testing" +url="http://www.voidspace.org.uk/python/mock/" +arch="noarch" +license="BSD" +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.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" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="c3971991738caa55ec7c356bbc154ee2 mock-1.0.1.tar.gz" +sha256sums="b839dd2d9c117c701430c149956918a423a9863b48b09c90e30a6013e7d2f44f mock-1.0.1.tar.gz" +sha512sums="4f6f4ebc34843e16b15d866e415ad9992e79bd266a63a22fee31b773ba77615e3406bc8890ceed92c0ee296380d68c46299c4c4448a3526f9cb96b258d32cf58 mock-1.0.1.tar.gz" diff --git a/main/py-phonenumbers/APKBUILD b/main/py-phonenumbers/APKBUILD new file mode 100644 index 0000000000..c1cca9d79b --- /dev/null +++ b/main/py-phonenumbers/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-phonenumbers +_pkgname=phonenumbers +pkgver=7.0.1 +pkgrel=0 +pkgdesc="International phone number library for Python" +url=https://github.com/daviddrysdale/python-phonenumbers +arch="noarch" +license="ASL 2.0" +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.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" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="262f2877122848aa57a1033236739e04 phonenumbers-7.0.1.tar.gz" +sha256sums="d7f1e71c629a93790bd0ac95c8ce32006edd3e7c68659ada06cbef524c8506ec phonenumbers-7.0.1.tar.gz" +sha512sums="6c9ef6d0ffd5d438ea80f51ab1d1cea06712a710f4951488dfaeab738b99768ecd52b02a459299db7c812c0858034c84da546f52b5374e50269e98e2b47534d0 phonenumbers-7.0.1.tar.gz" diff --git a/main/py-purl/APKBUILD b/main/py-purl/APKBUILD new file mode 100644 index 0000000000..82e8f3b78f --- /dev/null +++ b/main/py-purl/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-purl +_pkgname=purl +pkgver=1.1 +pkgrel=0 +pkgdesc="An immutable Python URL class for easy URL-building and manipulation" +url="https://github.com/codeinthehole/purl" +arch="noarch" +license="MIT" +depends="python py-six" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.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" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="18e85232396ce60d2e77baed7c5c90e4 purl-1.1.tar.gz" +sha256sums="117d2ae7476e3108f4235bb833d6da2ac72c73c3711834f012c3ae576d909c10 purl-1.1.tar.gz" +sha512sums="80902315f3b897baf1c2a3e2f9bff89f692416fb79fa119b83aee28ae85d4d3afb3c099a3264ffa8abf15d9aea97ad287e1a80e4d516679740be946aa5a4741a purl-1.1.tar.gz" diff --git a/main/py-tz/APKBUILD b/main/py-tz/APKBUILD new file mode 100644 index 0000000000..be7bdce188 --- /dev/null +++ b/main/py-tz/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Peter Bui <pnutzh4x0r@gmail.com> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-tz +_pkgname=pytz +pkgver=2015.4 +pkgrel=0 +pkgdesc="A Python definitions of world timezone" +url="http://pytz.sourceforge.net/" +arch="noarch" +license="MIT" +depends="python" +depends_dev="" +makedepends="python-dev py-setuptools" +install="" +subpackages="" +source="http://pypi.python.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" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="417a47b1c432d90333e42084a605d3d8 pytz-2015.4.tar.gz" +sha256sums="c4ee70cb407f9284517ac368f121cf0796a7134b961e53d9daf1aaae8f44fb90 pytz-2015.4.tar.gz" +sha512sums="5a8ed7bbb95cbd5b4ca5dac5e10d8a2c2b09d3371372e3eaa2637b28f5a4a0418d6db5098de8663e3c4af630c95f0b65283d72c4c057e8bbae53c9d0ac939dfd pytz-2015.4.tar.gz" |