commit 8ac7c25f810156d6b9e9478a7aed06631e551073 parent 55bf64de387eff7f6e661a6fda12ac47b5159f49 Author: parazyd <parazyd@dyne.org> Date: Wed, 31 Jul 2019 10:53:21 +0200 Add py-subliminal and its dependencies. Diffstat:
A | py-appdirs/APKBUILD | | | 46 | ++++++++++++++++++++++++++++++++++++++++++++++ |
A | py-babelfish/APKBUILD | | | 46 | ++++++++++++++++++++++++++++++++++++++++++++++ |
A | py-dogpile-cache/APKBUILD | | | 46 | ++++++++++++++++++++++++++++++++++++++++++++++ |
A | py-enzyme/APKBUILD | | | 48 | ++++++++++++++++++++++++++++++++++++++++++++++++ |
A | py-guessit/APKBUILD | | | 47 | +++++++++++++++++++++++++++++++++++++++++++++++ |
A | py-pysrt/APKBUILD | | | 47 | +++++++++++++++++++++++++++++++++++++++++++++++ |
A | py-pytz/APKBUILD | | | 46 | ++++++++++++++++++++++++++++++++++++++++++++++ |
A | py-rarfile/APKBUILD | | | 45 | +++++++++++++++++++++++++++++++++++++++++++++ |
A | py-rebulk/APKBUILD | | | 47 | +++++++++++++++++++++++++++++++++++++++++++++++ |
A | py-stevedore/APKBUILD | | | 47 | +++++++++++++++++++++++++++++++++++++++++++++++ |
A | py-subliminal/APKBUILD | | | 47 | +++++++++++++++++++++++++++++++++++++++++++++++ |
11 files changed, 512 insertions(+), 0 deletions(-)
diff --git a/py-appdirs/APKBUILD b/py-appdirs/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=py-appdirs +_pkgname=appdirs +pkgver=1.4.3 +pkgrel=0 +pkgdesc="Module for determining appropriate platform-specific dirs" +url="https://github.com/ActiveState/appdirs" +arch="noarch" +license="MIT" +depends="" +makedepends="python2-dev python3-dev py-setuptools" +subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + + python2 setup.py build || return 1 + python3 setup.py build || return 1 +} + +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="964db6c9f830c9b23d78f0230c5f574f214f08faf3fd24f10ccc941d23e38de66186461d754f7effb94aa0553c25df4843c9ff5dcd375c992c322550b3d98cce appdirs-1.4.3.tar.gz" diff --git a/py-babelfish/APKBUILD b/py-babelfish/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=py-babelfish +_pkgname=babelfish +pkgver=0.5.5 +pkgrel=0 +pkgdesc="Python library to work with countries and languages" +url="https://github.com/Diaoul/babelfish" +arch="noarch" +license="BSD" +depends="" +makedepends="python2-dev python3-dev py-setuptools" +subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + + python2 setup.py build || return 1 + python3 setup.py build || return 1 +} + +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="71504dd0203ad85a6a69107d67df3bd5ae4193515e74c05b346a8bd0aab425fc1534d54d1c74b14e48580ee5e76f04705e35c2d359fbe46254bee37e41cb4bfa babelfish-0.5.5.tar.gz" diff --git a/py-dogpile-cache/APKBUILD b/py-dogpile-cache/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=py-dogpile-cache +_pkgname=dogpile-cache +pkgver=0.7.1 +pkgrel=0 +pkgdesc="A locking API for expiring values while a single thread generates a new value." +url="https://bitbucket.org/zzzeek/dogpile.cache" +arch="noarch" +license="Apache-2.0" +depends="" +makedepends="python2-dev python3-dev py-setuptools" +subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/dogpile.cache/dogpile.cache-${pkgver}.tar.gz" +builddir="$srcdir/dogpile.cache-$pkgver" + +build() { + cd "$builddir" + + python2 setup.py build || return 1 + python3 setup.py build || return 1 +} + +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="39c0a1d3d5027bc61cc69eda46c846c72d09892b2de0ea2e9545b1f710911dce8726b4ee4a0daef0d3c409a16733920d437f6e833a5b3f55ccc80267bb0da39c dogpile.cache-0.7.1.tar.gz" diff --git a/py-enzyme/APKBUILD b/py-enzyme/APKBUILD @@ -0,0 +1,48 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=py-enzyme +_pkgname=enzyme +pkgver=0.4.1 +pkgrel=0 +pkgdesc="Python video metadata parser" +url="https://github.com/Diaoul/enzyme" +arch="noarch" +license="Apache-2.0" +depends="unzip" +_py2_deps="py2-yaml py2-requests" +_py3_deps="py3-yaml py3-requests" +makedepends="$_py2_deps $_py3_deps python2-dev python3-dev py-setuptools" +subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + + python2 setup.py build || return 1 + python3 setup.py build || return 1 +} + +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="62a85c076a7eb320249a507dcc9dd26572e3a9b9643e0a960ed114a80c75213e6e5028a726fbcdd0c2c46c53af980a69828a54a66af9a17af3210273376395b3 enzyme-0.4.1.tar.gz" diff --git a/py-guessit/APKBUILD b/py-guessit/APKBUILD @@ -0,0 +1,47 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=py-guessit +_pkgname=guessit +pkgver=3.0.0 +pkgrel=0 +pkgdesc="Python library for guessing information from video filenames" +url="https://github.com/guessit-io/guessit" +arch="noarch" +license="LGPL-3" +_py2_deps="py2-babelfish py2-rebulk py2-dateutil py2-yaml py2-six" +_py3_deps="py3-babelfish py3-rebulk py3-dateutil py3-yaml py3-six" +makedepends="$_py2_deps $_py3_deps python2-dev python3-dev py-setuptools" +subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + + python2 setup.py build || return 1 + python3 setup.py build || return 1 +} + +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="87f19dc1c6b4f46fa1f2682f7c3bab91cf094df06904b8d9771159f346612b9d0adef4aef55315dd00d07787319d17008e936b125941abba5b869df6a91cb1c6 guessit-3.0.0.tar.gz" diff --git a/py-pysrt/APKBUILD b/py-pysrt/APKBUILD @@ -0,0 +1,47 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=py-pysrt +_pkgname=pysrt +pkgver=1.1.1 +pkgrel=0 +pkgdesc="Python library used to edit or create SubRip files" +url="https://github.com/byroot/pysrt" +arch="noarch" +license="GPL-3" +_py2_deps="py2-chardet" +_py3_deps="py3-chardet" +makedepends="$_py2_deps $_py3_deps python2-dev python3-dev py-setuptools" +subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + + python2 setup.py build || return 1 + python3 setup.py build || return 1 +} + +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="607f80c1f66702d36b6fa54b293f59c6a28415d812bf54d7210075d1c84a7547ce2776c0809910ed3d79c08a3c595ce74719976d8f2818820a3f4a306ffc1825 pysrt-1.1.1.tar.gz" diff --git a/py-pytz/APKBUILD b/py-pytz/APKBUILD @@ -0,0 +1,46 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=py-pytz +_pkgname=pytz +pkgver=2018.9 +pkgrel=0 +pkgdesc="World timezone definitions for Python" +url="https://pythonhosted.org/pytz/" +arch="all" +license="GPL-3" +depends="tzdata unzip" +makedepends="python2-dev python3-dev py-setuptools" +subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + + python2 setup.py build || return 1 + python3 setup.py build || return 1 +} + +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="c3dabe61d04539245761a5c4e3bfb614df1c3b8ccc2ffa1cf320c5ad642242c29b3321fe7855d32a2ae55c739acbbe8c0e1813df5b3c757b8f56fff910fee159 pytz-2018.9.tar.gz" diff --git a/py-rarfile/APKBUILD b/py-rarfile/APKBUILD @@ -0,0 +1,45 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=py-rarfile +_pkgname=rarfile +pkgver=3.0 +pkgrel=0 +pkgdesc="Module for RAR archive reading" +url="https://github.com/markokr/rarfile" +arch="all" +license="ISC" +makedepends="unrar python2-dev python3-dev py-setuptools" +subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + + python2 setup.py build || return 1 + python3 setup.py build || return 1 +} + +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="b0b816bf09fe455e4d8d35b447c30e7810468a6927555164a1b513d4161f3fd4e77a37439620bd935c3a12e46b1e5eda3e35d7d281899d2f9fd26b6e989aa6e4 rarfile-3.0.tar.gz" diff --git a/py-rebulk/APKBUILD b/py-rebulk/APKBUILD @@ -0,0 +1,47 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=py-rebulk +_pkgname=rebulk +pkgver=0.9.0 +pkgrel=0 +pkgdesc="Python library that performs advanced searches in strings" +url="https://github.com/Toilal/rebulk" +arch="noarch" +license="MIT" +_py2_deps="py2-six" +_py3_deps="py3-six" +makedepends="$_py2_deps $_py3_deps python2-dev python3-dev py-setuptools" +subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + + python2 setup.py build || return 1 + python3 setup.py build || return 1 +} + +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="25a22b3a5f5519f6f8c10abf6a477f212c0500264cfdcc5a9be09d3818462a051b1a7cd78f94991c44ac6bcdc7435b9909e65de48d1bd8138989e0da98d10262 rebulk-0.9.0.tar.gz" diff --git a/py-stevedore/APKBUILD b/py-stevedore/APKBUILD @@ -0,0 +1,47 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=py-stevedore +_pkgname=stevedore +pkgver=1.30.1 +pkgrel=0 +pkgdesc="Manage dynamic plugins for Python applications" +url="https://github.com/openstack/stevedore" +arch="noarch" +license="Apache-2.0" +_py2_deps="py2-pbr" +_py3_deps="py3-pbr" +makedepends="$_py2_deps $_py3_deps python2-dev python3-dev py-setuptools" +subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + + python2 setup.py build || return 1 + python3 setup.py build || return 1 +} + +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="3316ba9c73dc5499588a65fb0abc85ffc8eeea14dc94fbaced6379246098f03201d8a13dc64510a0840cb3d266ac83ffbb957738a61ee2a36440611833bab4ef stevedore-1.30.1.tar.gz" diff --git a/py-subliminal/APKBUILD b/py-subliminal/APKBUILD @@ -0,0 +1,47 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=py-subliminal +_pkgname=subliminal +pkgver=2.0.5 +pkgrel=0 +pkgdesc="Subtitles, faster than your thoughts" +url="https://github.com/Diaoul/subliminal" +arch="noarch" +license="MIT" +_py2_deps="py2-appdirs py2-babelfish py2-beautifulsoup4 py2-chardet py2-click py2-decorator py2-dogpile-cache py2-enzyme py2-guessit py2-pysrt py2-pytz py2-rarfile py2-requests py2-six py2-stevedore py2-future" +_py3_deps="py3-appdirs py3-babelfish py3-beautifulsoup4 py3-chardet py3-click py3-decorator py3-dogpile-cache py3-enzyme py3-guessit py3-pysrt py3-pytz py3-rarfile py3-requests py3-six py3-stevedore py3-future" +makedepends="$_py2_deps $_py3_deps python2-dev python3-dev py-setuptools" +subpackages="py2-${pkgname#py-}: py2 py3-${pkgname#py-}:_py3" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + + python2 setup.py build || return 1 + python3 setup.py build || return 1 +} + +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="56bc0e87496d5bc361430c4ee396b20374da697014203bdc4dda12341918e67c98aec579e44bd467898dbbf11f31e9de47ece17a0d78339f2bc700e3e6c8dd40 subliminal-2.0.5.tar.gz"