From 129e647f9fad08e72bc581704210753683418f06 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 14 Nov 2017 01:37:29 +0000 Subject: [PATCH] Add py3-sqlalchemy-utils and friends --- py3-anyjson/APKBUILD | 25 +++++++++++++++++++++++ py3-arrow/APKBUILD | 25 +++++++++++++++++++++++ py3-colour/APKBUILD | 25 +++++++++++++++++++++++ py3-furl/APKBUILD | 25 +++++++++++++++++++++++ py3-infinity/APKBUILD | 25 +++++++++++++++++++++++ py3-intervals/APKBUILD | 25 +++++++++++++++++++++++ py3-orderedmultidict/APKBUILD | 25 +++++++++++++++++++++++ py3-passlib/APKBUILD | 25 +++++++++++++++++++++++ py3-sqlalchemy-utils/APKBUILD | 38 +++++++++++++++++++++++++++++++++++ 9 files changed, 238 insertions(+) create mode 100644 py3-anyjson/APKBUILD create mode 100644 py3-arrow/APKBUILD create mode 100644 py3-colour/APKBUILD create mode 100644 py3-furl/APKBUILD create mode 100644 py3-infinity/APKBUILD create mode 100644 py3-intervals/APKBUILD create mode 100644 py3-orderedmultidict/APKBUILD create mode 100644 py3-passlib/APKBUILD create mode 100644 py3-sqlalchemy-utils/APKBUILD diff --git a/py3-anyjson/APKBUILD b/py3-anyjson/APKBUILD new file mode 100644 index 0000000..4583c42 --- /dev/null +++ b/py3-anyjson/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Drew DeVault +_name=anyjson +pkgname=py3-anyjson +pkgver=0.3.3 +pkgrel=1 +pkgdesc="Wraps the best available JSON implementation available in a common interface" +url="http://pypi.python.org/pypi/anyjson" +arch="noarch" +license="BSD" +depends="python3" +makedepends="py-setuptools" +source="https://pypi.python.org/packages/source/a/${_name}/${_name}-${pkgver}.tar.gz" +builddir="$srcdir/${_name}-${pkgver}" + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="9e70df3cb8bfe2348fdb0eb03cf3c33ca5a1171aca6467787fc28c161354b5ebe89b2f73badfa00708774d6825799860493ddcac7f5da8cc9c251b92b5a343bc anyjson-0.3.3.tar.gz" diff --git a/py3-arrow/APKBUILD b/py3-arrow/APKBUILD new file mode 100644 index 0000000..41a4638 --- /dev/null +++ b/py3-arrow/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Drew DeVault +_name=arrow +pkgname=py3-arrow +pkgver=0.10.0 +pkgrel=1 +pkgdesc="Better dates and times for Python" +url="http://crsmithdev.com/arrow/" +arch="noarch" +license="GPL" +depends="python3" +makedepends="py-setuptools py3-dateutil py-nose" +source="https://files.pythonhosted.org/packages/source/a/arrow/arrow-${pkgver}.tar.gz" +builddir="$srcdir/${_name}-${pkgver}" + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="a2baa23f1424b21506f3b664f0ef02d09f91b9cfaf6e0badfa544f42c750ed51136ae0e8910ac24207c0265a1b233f10a6f3cbafee3124b5f5c4fd965cfd01c0 arrow-0.10.0.tar.gz" diff --git a/py3-colour/APKBUILD b/py3-colour/APKBUILD new file mode 100644 index 0000000..e8ff912 --- /dev/null +++ b/py3-colour/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Drew DeVault +_name=colour +pkgname=py3-colour +pkgver=0.1.2 +pkgrel=1 +pkgdesc="Colour representations manipulation library (RGB, HSL, web, ...)" +url="https://github.com/vaab/colour" +arch="noarch" +license="MIT" +depends="python3" +makedepends="py-setuptools" +source="https://pypi.python.org/packages/source/c/${_name}/${_name}-${pkgver}.tar.gz" +builddir="$srcdir/${_name}-${pkgver}" + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="2d8c76ff1576a5f2df7d7fe658a2f3f8513d5442b3c390cf1b0de68ecfd254a93fa55a0ed5a7128567d27508447f1aa641694b6940ba29c5d4006c68dd31b99a colour-0.1.2.tar.gz" diff --git a/py3-furl/APKBUILD b/py3-furl/APKBUILD new file mode 100644 index 0000000..48eacd6 --- /dev/null +++ b/py3-furl/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Drew DeVault +_name=furl +pkgname=py3-furl +pkgver=0.4.92 +pkgrel=1 +pkgdesc="Python library that makes manipulating URLs simple." +url="https://github.com/gruns/furl" +arch="noarch" +license="Unlicense" +depends="python3 py3-six py3-orderedmultidict" +makedepends="py-setuptools" +source="https://pypi.python.org/packages/source/f/${_name}/${_name}-${pkgver}.tar.gz" +builddir="$srcdir/${_name}-${pkgver}" + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="1c85b52621498be97353da5955381655312f3c59287b31c50d6b6dc94bb5587fdc000c70767ea670fef2b792a3f723b98ca2d71c12a20885430d1204eb28855c furl-0.4.92.tar.gz" diff --git a/py3-infinity/APKBUILD b/py3-infinity/APKBUILD new file mode 100644 index 0000000..05ad71c --- /dev/null +++ b/py3-infinity/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Drew DeVault +_name=infinity +pkgname=py3-infinity +pkgver=1.3 +pkgrel=1 +pkgdesc="All-in-one infinity value for Python. Can be compared to any object." +url="https://github.com/kvesteri/infinity" +arch="noarch" +license="BSD" +depends="python3" +makedepends="py-setuptools" +source="https://pypi.python.org/packages/source/i/${_name}/${_name}-${pkgver}.tar.gz" +builddir="$srcdir/${_name}-${pkgver}" + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="2f4832dddec9357dfb6f40ed338aedd297990f3ac9ff9f289d6340dce1375984022d754b3d432b6729cd6222a50c2441e277fe7cefbf7d5c15240399ae78b99d infinity-1.3.tar.gz" diff --git a/py3-intervals/APKBUILD b/py3-intervals/APKBUILD new file mode 100644 index 0000000..75be56f --- /dev/null +++ b/py3-intervals/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Drew DeVault +_name=intervals +pkgname=py3-intervals +pkgver=0.8.0 +pkgrel=1 +pkgdesc="Python tools for handling intervals (ranges of comparable objects)." +url="https://github.com/kvesteri/intervals" +arch="noarch" +license="BSD" +depends="python3 py3-infinity" +makedepends="py-setuptools" +source="https://pypi.python.org/packages/30/7a/7364356d073426b73014bc6f7aab36914fd9fc53e8d99150a0de69d7846a/intervals-0.8.0.tar.gz" +builddir="$srcdir/${_name}-${pkgver}" + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="1953c9535c9d5dbf2080409000e9942b71416473d4856f6eb1e08e55576fce1e979d00563953afca59eed4a6ff8df2f52cf0557e88312416cf1294213e924c38 intervals-0.8.0.tar.gz" diff --git a/py3-orderedmultidict/APKBUILD b/py3-orderedmultidict/APKBUILD new file mode 100644 index 0000000..8fe0fcc --- /dev/null +++ b/py3-orderedmultidict/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Drew DeVault +_name=orderedmultidict +pkgname=py3-orderedmultidict +pkgver=0.7.5 +pkgrel=1 +pkgdesc="Ordered multivalue dictionary that retains method parity with dict." +url="https://github.com/gruns/orderedmultidict" +arch="noarch" +license="Unlicense" +depends="python3 py3-six" +makedepends="py-setuptools" +source="https://pypi.python.org/packages/source/o/${_name}/${_name}-${pkgver}.tar.gz" +builddir="$srcdir/${_name}-${pkgver}" + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="ec6f738b1199d8f06c7895737335b13e172059c13253703c2ab64dc9dac8f17ad6dc3a81e5768eea1698a88143be1bfc707512db31171a6190d29e67fb934fac orderedmultidict-0.7.5.tar.gz" diff --git a/py3-passlib/APKBUILD b/py3-passlib/APKBUILD new file mode 100644 index 0000000..04cafb4 --- /dev/null +++ b/py3-passlib/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Drew DeVault +_name=passlib +pkgname=py3-passlib +pkgver=1.7.1 +pkgrel=1 +pkgdesc="A password hashing library for Python" +url="https://code.google.com/p/passlib/" +arch="noarch" +license="BSD" +depends="python3" +makedepends="py-setuptools" +source="https://pypi.io/packages/source/p/passlib/passlib-$pkgver.tar.gz" +builddir="$srcdir/${_name}-${pkgver}" + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="3d5f069cd4e44e5e87cdabc46845acbdd6c1eeedb7ce1f611aebee87b0f7af19009b6a47a10ec555fd84260b9f5c933c6429e325d30326de3869f05031674168 passlib-1.7.1.tar.gz" diff --git a/py3-sqlalchemy-utils/APKBUILD b/py3-sqlalchemy-utils/APKBUILD new file mode 100644 index 0000000..fd243d9 --- /dev/null +++ b/py3-sqlalchemy-utils/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Drew DeVault +_name=SQLAlchemy-Utils +pkgname=py3-sqlalchemy-utils +pkgver=0.32.9 +pkgrel=1 +pkgdesc="Various utility functions, new data types and helpers for SQLAlchemy." +url="https://github.com/kvesteri/sqlalchemy-utils" +arch="noarch" +license="Apache" +# TODO: I imagine many of these can be made optdepends +depends=" + python3 + py3-anyjson + py3-babel + py3-arrow + py3-intervals + py3-phonenumbers + py3-passlib + py3-colour + py3-dateutil + py3-furl + py3-cryptography +" +makedepends="py-setuptools" +source="https://pypi.python.org/packages/4e/85/bf1255b8fdef127a019f1ed7ff174a5f7482bc539f83213cf137eb703f1e/SQLAlchemy-Utils-0.32.9.tar.gz" +builddir="$srcdir/${_name}-${pkgver}" + +check() { + cd "$builddir" + python3 setup.py check +} + +package() { + cd "$builddir" + python3 setup.py install --root="$pkgdir" --optimize=1 +} + +sha512sums="bc2c6c67de086f4fefb44f83e15f5174fc5c0a231bc92a13515d22804a9e521b61c7b4406fc89458c78a69264edccb07a17dbbf89c3ec50ab9b3374bc8b9349d SQLAlchemy-Utils-0.32.9.tar.gz" -- 2.45.2