diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2019-04-07 14:45:15 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2019-04-07 14:45:15 +0000 |
commit | c5f8a52a58247448855b0b81bae867e5ab31cfef (patch) | |
tree | 303ca612dd27096250f7e9d3e6ad739f2dd2ef11 /user | |
parent | 94628432b84d6c739deab02e7ed9a532f517a686 (diff) | |
parent | 64d7aa8301c599bf348897882e50f2a94d7b60df (diff) | |
download | packages-c5f8a52a58247448855b0b81bae867e5ab31cfef.tar.gz packages-c5f8a52a58247448855b0b81bae867e5ab31cfef.tar.bz2 packages-c5f8a52a58247448855b0b81bae867e5ab31cfef.tar.xz packages-c5f8a52a58247448855b0b81bae867e5ab31cfef.zip |
Merge branch 'py3-sphinx' into 'master'
Add py3-sphinx and its dependencies.
This will be needed in the future to build qemu-doc for qemu 4.0.
See merge request !214
Diffstat (limited to 'user')
23 files changed, 787 insertions, 0 deletions
diff --git a/user/py3-alabaster/APKBUILD b/user/py3-alabaster/APKBUILD new file mode 100644 index 000000000..65356c103 --- /dev/null +++ b/user/py3-alabaster/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-alabaster +_pkgname=alabaster +pkgver=0.7.12 +pkgrel=0 +pkgdesc="Default theme for Sphinx Documentation Generator" +url="https://pypi.python.org/pypi/alabaster" +arch="noarch" +# Inexact match, due to being derived work of a theme. +license="BSD-3-Clause" +depends="python3 py3-pygments" +makedepends="python3-dev" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + # Zero tests currently. + python3 setup.py test +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="e3bfd0c92ce01f08d5e6d9dc1ef0967ca1f54827e08756f4a0ba7be8d3b8bec7f2e53a169b831ff5ce2d2548f7f52c6e518bcc513e49bb3e4c38274293aebbac py3-alabaster-0.7.12.tar.gz" diff --git a/user/py3-babel/APKBUILD b/user/py3-babel/APKBUILD new file mode 100644 index 000000000..b9ce036aa --- /dev/null +++ b/user/py3-babel/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-babel +_pkgname=Babel +pkgver=2.6.0 +pkgrel=0 +pkgdesc="Internationalization tools for Python" +url="https://pypi.python.org/pypi/Babel" +arch="noarch" +license="BSD-3-Clause" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-pytest py3-freezegun py3-python-dateutil py3-tz" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py test +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="a87f26c25f1e48a64d1e7ee112bc0c325a6268e0e716a81cb6814a53f0add8f3d579babd2ba064f160298ebe3ac9711aa5d28f112582ee287767b6ed8427b6e0 py3-babel-2.6.0.tar.gz" diff --git a/user/py3-freezegun/APKBUILD b/user/py3-freezegun/APKBUILD new file mode 100644 index 000000000..4148189a0 --- /dev/null +++ b/user/py3-freezegun/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-freezegun +_pkgname=freezegun +pkgver=0.3.11 +pkgrel=0 +pkgdesc="Let your Python tests travel through time" +url="https://pypi.python.org/pypi/freezegun" +arch="noarch" +options="!check" # Disabled until 0.3.12 due to dependency on obsolete nose library. See https://github.com/spulec/freezegun/issues/280 +license="Apache-2.0" +depends="python3 py3-six" +makedepends="python3-dev" +checkdepends="py3-python-dateutil py3-pytest py3-mock py3-pbr" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py test +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="e8b392176641d52f6ed795c9af5fbc0a62892aeedf32b42375b56ab44a9ad7a5ecd3bb81363ed0ae65204aff2ef894cd7f2e17f42be72f31d3409b2bffa59ab8 py3-freezegun-0.3.11.tar.gz" diff --git a/user/py3-html5lib/APKBUILD b/user/py3-html5lib/APKBUILD new file mode 100644 index 000000000..f65096fad --- /dev/null +++ b/user/py3-html5lib/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-html5lib +_pkgname=html5lib +pkgver=1.0.1 +pkgrel=0 +pkgdesc="HTML parser based on the WHATWG HTML specification" +url="https://pypi.python.org/pypi/html5lib" +arch="noarch" +license="MIT" +depends="python3 py3-six py3-webencodings" +makedepends="python3-dev" +checkdepends="py3-pytest py3-mock py3-pytest-expect" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + pytest +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="35939b4450893864da04e735ee5e0addacf1dd34bae6a6909c76572abf6bfded446a78a713dfde91c1485ba45867d7abeb6a45cf0545c16ea968707be7de5dd2 py3-html5lib-1.0.1.tar.gz" diff --git a/user/py3-hypothesis/APKBUILD b/user/py3-hypothesis/APKBUILD new file mode 100644 index 000000000..808a84296 --- /dev/null +++ b/user/py3-hypothesis/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-hypothesis +_pkgname=hypothesis +pkgver=4.14.3 +pkgrel=0 +pkgdesc="A library for property based testing" +url="https://pypi.python.org/pypi/hypothesis" +arch="noarch" +options="!check" # Tests are missing from release packages due to possible packaging bug? +license="MPL-2.0" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-pytest py3-attrs" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py test +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="6cf0713a416c51286e4c707c6b32705b2dd53ff1a5c88ceab0cdd970e8932078c9e13436ac4aa66f94a5badf0a2f93a20e8221f77cf4fb0c8b42a707b52fb0f2 py3-hypothesis-4.14.3.tar.gz" diff --git a/user/py3-imagesize/APKBUILD b/user/py3-imagesize/APKBUILD new file mode 100644 index 000000000..c47afd26f --- /dev/null +++ b/user/py3-imagesize/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-imagesize +_pkgname=imagesize +pkgver=1.1.0 +pkgrel=0 +pkgdesc="Parse image file header and return image size" +url="https://pypi.python.org/pypi/imagesize" +arch="noarch" +license="MIT" +depends="python3" +makedepends="python3-dev" +#subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py test +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="11af71a5120decb88450d1bc7609e25e560e448fcaef72c273690ffe3ad06856e6a172e20738a8dd5650efe1ba8d599e797692eb5cae2b7d74a71f1f55438a03 py3-imagesize-1.1.0.tar.gz" diff --git a/user/py3-jinja2/APKBUILD b/user/py3-jinja2/APKBUILD new file mode 100644 index 000000000..5f54488f5 --- /dev/null +++ b/user/py3-jinja2/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-jinja2 +_pkgname=Jinja2 +pkgver=2.10 +pkgrel=0 +pkgdesc="A small but fast and easy to use stand-alone template engine written in pure python." +url="https://pypi.python.org/pypi/Jinja2" +arch="noarch" +license="BSD-3-Clause" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-pytest py3-markupsafe" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + PYTHONPATH="$builddir:$PYTHONPATH" pytest +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="0ea7371be67ffcf19e46dfd06523a45a0806e678a407d54f5f2f3e573982f0959cf82ec5d07b203670309928a62ef71109701ab16547a9bba2ebcdc178cb67f2 py3-jinja2-2.10.tar.gz" diff --git a/user/py3-markupsafe/APKBUILD b/user/py3-markupsafe/APKBUILD new file mode 100644 index 000000000..9d2c46b51 --- /dev/null +++ b/user/py3-markupsafe/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-markupsafe +_pkgname=MarkupSafe +pkgver=1.1.1 +pkgrel=0 +pkgdesc="Safely add untrusted strings to HTML/XML markup." +url="https://pypi.python.org/pypi/MarkupSafe" +arch="all" +license="BSD-3-Clause" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + PYTHONPATH="$PYTHONPATH:$(echo build/lib.*)" pytest +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="f3014e6131a3ab866914c5635b5397ef71906bffb1b6f8c5f2ed2acf167429ff7914236d38943e872683a57a9be9669f4c5aace6274f3307ab21ef25373db0b6 py3-markupsafe-1.1.1.tar.gz" diff --git a/user/py3-packaging/APKBUILD b/user/py3-packaging/APKBUILD new file mode 100644 index 000000000..08936d2a5 --- /dev/null +++ b/user/py3-packaging/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-packaging +_pkgname=packaging +pkgver=19.0 +pkgrel=0 +pkgdesc="Core utilities for Python packages" +url="https://pypi.python.org/pypi/packaging" +arch="noarch" +license="Apache-2.0 AND BSD-2-Clause" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-pytest py3-pretend py3-pyparsing" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir/tests" + python3 -m pytest +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="aa55b6fbca764e7de2992e294b7be9dc90b25f88b64ba0cd2d1d93042402d4360b4c2cdc134a94b083da0c0bc83de8fa7185c0856bcc96fa25828c10a793fba7 py3-packaging-19.0.tar.gz" diff --git a/user/py3-pretend/APKBUILD b/user/py3-pretend/APKBUILD new file mode 100644 index 000000000..7cf86f96f --- /dev/null +++ b/user/py3-pretend/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-pretend +_pkgname=pretend +pkgver=1.0.9 +pkgrel=0 +pkgdesc="A library for stubbing in Python" +url="https://pypi.python.org/pypi/pretend" +arch="noarch" +options="!check" # Test script missing from tarball +license="BSD-3-Clause" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 test_pretend.py +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="25dfbc4035f7ec7088be40846847620495656ddedbc8a0111ca36e6f6cbd59f14b974403d60827363db3f11bedd38a91e84f9d494f7715e6e8cdb0abfa690a87 py3-pretend-1.0.9.tar.gz" diff --git a/user/py3-pyparsing/APKBUILD b/user/py3-pyparsing/APKBUILD new file mode 100644 index 000000000..f84545871 --- /dev/null +++ b/user/py3-pyparsing/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-pyparsing +_pkgname=pyparsing +pkgver=2.3.1 +pkgrel=0 +pkgdesc="Python parsing module" +url="https://pypi.python.org/pypi/pyparsing" +arch="noarch" +options="!check" # Multiple problems in tests. +license="MIT" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py test +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="fc8342780c38fd08c07d0b885c4d6c77d59f38098aa13c3abd05a790ee6caf2065a0bdab33bc290a6e2da123f4ac7e38c049e389b740546499dc48eba7ae431f py3-pyparsing-2.3.1.tar.gz" diff --git a/user/py3-pytest-expect/APKBUILD b/user/py3-pytest-expect/APKBUILD new file mode 100644 index 000000000..a8fcfadcf --- /dev/null +++ b/user/py3-pytest-expect/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-pytest-expect +_pkgname=pytest-expect +pkgver=1.1.0 +pkgrel=0 +pkgdesc="py.test plugin to store test expectations and mark tests based on them" +url="https://pypi.python.org/pypi/pytest-expect" +arch="noarch" +license="MIT" +depends="python3 py3-pytest py3-u-msgpack-python" +makedepends="python3-dev" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + # No tests available + python3 setup.py test +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="41d2b296844e9dab9429f34eec37fe106a4e6c2039824c37067ed048dcc328b13e666b22d3482ccfc6153af4e44b5d895f3011ec45df55ffa07a98459e3caefd py3-pytest-expect-1.1.0.tar.gz" diff --git a/user/py3-python-dateutil/APKBUILD b/user/py3-python-dateutil/APKBUILD new file mode 100644 index 000000000..0e47c9ce1 --- /dev/null +++ b/user/py3-python-dateutil/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-python-dateutil +_pkgname=python-dateutil +pkgver=2.8.0 +pkgrel=0 +pkgdesc="Extensions to the standard Python datetime module" +url="https://pypi.python.org/pypi/python-dateutil" +arch="noarch" +license="Apache-2.0 AND BSD-3-Clause" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-pytest py3-hypothesis py3-freezegun" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + pytest +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="ec7da86203572582f883a4686acf8a732a2de4f396d809057eb51b2c60dbca5623a7fa90c2c0618c281a2282c60841739bd837731a51cc876f4ff369297f2f81 py3-python-dateutil-2.8.0.tar.gz" diff --git a/user/py3-snowballstemmer/APKBUILD b/user/py3-snowballstemmer/APKBUILD new file mode 100644 index 000000000..5e24c7788 --- /dev/null +++ b/user/py3-snowballstemmer/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-snowballstemmer +_pkgname=snowballstemmer +pkgver=1.2.1 +pkgrel=0 +pkgdesc="This package provides 16 stemmer algorithms (15 + Poerter English stemmer) generated from Snowball algorithms." +url="https://pypi.python.org/pypi/snowballstemmer" +arch="noarch" +options="!check" # Test script nowhere to be found +license="BSD-2-Clause" +depends="python3" +makedepends="python3-dev" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + python3 setup.py test +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="09f860f383d84d12a83c87ef6654fba4ac10bca07e8d2ce88dd428c72754110d56a4b698e125a18818699a289455bf61cf67ea68e349ee8a12d6dfff0a3fbed9 py3-snowballstemmer-1.2.1.tar.gz" diff --git a/user/py3-sphinx/APKBUILD b/user/py3-sphinx/APKBUILD new file mode 100644 index 000000000..8fe5a9944 --- /dev/null +++ b/user/py3-sphinx/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-sphinx +_pkgname=Sphinx +pkgver=2.0.0 +pkgrel=1 +pkgdesc="Sphinx Python Documentation Generator" +url="https://pypi.python.org/pypi/Sphinx" +arch="noarch" +options="!check" # Some latex tests failing on 2.0.0 due to translation bug, see https://github.com/sphinx-doc/sphinx/pull/6218 +# Main software is BSD-2-Clause. +license="BSD-2-Clause AND BSD-3-Clause AND MIT" +depends="python3 py3-alabaster py3-babel py3-pygments py3-docutils py3-imagesize py3-jinja2 py3-packaging py3-pyparsing py3-requests py3-snowballstemmer py3-tz py3-sphinxcontrib-applehelp py3-sphinxcontrib-devhelp py3-sphinxcontrib-htmlhelp py3-sphinxcontrib-jsmath py3-sphinxcontrib-qthelp py3-sphinxcontrib-serializinghtml imagemagick" +makedepends="python3-dev" +checkdepends="py3-pytest py3-docutils py3-html5lib" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + # settings borrowed from tox.ini. + PYTHONPATH="build/lib:$PYTHONPATH" PYTHONWARNINGS="all,ignore::ImportWarning:pkgutil,ignore::ImportWarning:importlib._bootstrap,ignore::ImportWarning:importlib._bootstrap_external,ignore::ImportWarning:pytest_cov.plugin,ignore::DeprecationWarning:site,ignore::DeprecationWarning:_pytest.assertion.rewrite,ignore::DeprecationWarning:_pytest.fixtures,ignore::DeprecationWarning:distutils" pytest --durations 25 +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +doc() { + cd "$builddir" + + local docdir="$subpkgdir/usr/share/doc/$pkgname" + mkdir -p "$docdir" + cp -R docs/* "$docdir" + cp *.txt "$docdir" + + local licdir="$subpkgdir/usr/share/licenses/$pkgname" + mkdir -p "$licdir" + rm -f licenses/docutils.conf + cp licenses/* "$licdir" +} + +sha512sums="283e18514262366e0aebc23f1e48ce7fa3591e48572525c832f96ec4f943463e19904c67ab06a4b3244119750c63dc496d4a4142e1e4a55e0b4ebdc748cf6aa6 py3-sphinx-2.0.0.tar.gz" diff --git a/user/py3-sphinxcontrib-applehelp/APKBUILD b/user/py3-sphinxcontrib-applehelp/APKBUILD new file mode 100644 index 000000000..20e2a4430 --- /dev/null +++ b/user/py3-sphinxcontrib-applehelp/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-sphinxcontrib-applehelp +_pkgname=sphinxcontrib-applehelp +pkgver=1.0.1 +pkgrel=0 +pkgdesc="A Sphinx extension to output Apple help books" +url="https://pypi.python.org/pypi/sphinxcontrib-applehelp" +arch="noarch" +options="!check" # Cyclic dependency with sphinx +license="BSD-2-Clause" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-sphinx py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + PYTHONWARNINGS="all,ignore::DeprecationWarning:docutils.io" pytest --durations 25 +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="a6500bc2899f25c0b04c8649e86a6f688823e573a3f58f2b786117768e8b415acffbe79b99cff8aeb6ae3c74dd244254de120b82b7432cf61c5fabdd38f21603 py3-sphinxcontrib-applehelp-1.0.1.tar.gz" diff --git a/user/py3-sphinxcontrib-devhelp/APKBUILD b/user/py3-sphinxcontrib-devhelp/APKBUILD new file mode 100644 index 000000000..01bfdf037 --- /dev/null +++ b/user/py3-sphinxcontrib-devhelp/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-sphinxcontrib-devhelp +_pkgname=sphinxcontrib-devhelp +pkgver=1.0.1 +pkgrel=0 +pkgdesc="A sphinx extension to output Devhelp documents" +url="https://pypi.python.org/pypi/sphinxcontrib-devhelp" +arch="noarch" +options="!check" # Cyclic dependency with sphinx +license="BSD-2-Clause" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-sphinx py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + PYTHONWARNINGS="all,ignore::DeprecationWarning:docutils.io" pytest --durations 25 +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="135d6405e330cc245391646d4055988cf762d82f6473e58c64a76f3a88e7f33a66baba366e7f29e1378320bd0c374af92b0f972bceeec8c05ad0fe652a81e984 py3-sphinxcontrib-devhelp-1.0.1.tar.gz" diff --git a/user/py3-sphinxcontrib-htmlhelp/APKBUILD b/user/py3-sphinxcontrib-htmlhelp/APKBUILD new file mode 100644 index 000000000..66e2da105 --- /dev/null +++ b/user/py3-sphinxcontrib-htmlhelp/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-sphinxcontrib-htmlhelp +_pkgname=sphinxcontrib-htmlhelp +pkgver=1.0.1 +pkgrel=0 +pkgdesc="A sphinx extension to output HtmlHelp" +url="https://pypi.python.org/pypi/sphinxcontrib-htmlhelp" +arch="noarch" +options="!check" # Cyclic dependency with sphinx +license="BSD-2-Clause" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-sphinx py3-pytest py3-html5lib" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + PYTHONWARNINGS="all,ignore::DeprecationWarning:docutils.io" pytest --durations 25 +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="a364a490e5043e767a8b498b5b621f3f3c64bf15f65847097489d3d2ba8620adea2045024d5189a68d97af6f68161f714f09a712cdd9fc6d06524ea818cf2e1a py3-sphinxcontrib-htmlhelp-1.0.1.tar.gz" diff --git a/user/py3-sphinxcontrib-jsmath/APKBUILD b/user/py3-sphinxcontrib-jsmath/APKBUILD new file mode 100644 index 000000000..0a760859f --- /dev/null +++ b/user/py3-sphinxcontrib-jsmath/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-sphinxcontrib-jsmath +_pkgname=sphinxcontrib-jsmath +pkgver=1.0.1 +pkgrel=0 +pkgdesc="A sphinx extension which renders display math in HTML via JavaScript" +url="https://pypi.python.org/pypi/sphinxcontrib-jsmath" +arch="noarch" +options="!check" # Cyclic dependency on sphinx +license="BSD-2-Clause" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-sphinx py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + PYTHONWARNINGS="all,ignore::DeprecationWarning:docutils.io" pytest --durations 25 +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="c1e6488f5c0ca4567c27ec7c597c9db321ac32ce354c4ad62fea534b2ae1c0acb183a921f46216bbc3891f14acfaac05ddf324b8fdaf99828df07bc91aa7e5c7 py3-sphinxcontrib-jsmath-1.0.1.tar.gz" diff --git a/user/py3-sphinxcontrib-qthelp/APKBUILD b/user/py3-sphinxcontrib-qthelp/APKBUILD new file mode 100644 index 000000000..9feee1eae --- /dev/null +++ b/user/py3-sphinxcontrib-qthelp/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-sphinxcontrib-qthelp +_pkgname=sphinxcontrib-qthelp +pkgver=1.0.2 +pkgrel=0 +pkgdesc="A Sphinx extension to output QtHelp documents." +url="https://pypi.python.org/pypi/sphinxcontrib-qthelp" +arch="noarch" +options="!check" # Cyclic dependency with sphinx +license="BSD-2-Clause" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-sphinx py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + PYTHONWARNINGS="all,ignore::DeprecationWarning:docutils.io" pytest --durations 25 +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="8fe840e011fabd596194f539d27a502b77ae8a6030ae1a7646b1af9f203d3578b7420ead655297b2a752f0cb0e6803247c7a79b2ccd2d4662ed9f58398947864 py3-sphinxcontrib-qthelp-1.0.2.tar.gz" diff --git a/user/py3-sphinxcontrib-serializinghtml/APKBUILD b/user/py3-sphinxcontrib-serializinghtml/APKBUILD new file mode 100644 index 000000000..d576f8de8 --- /dev/null +++ b/user/py3-sphinxcontrib-serializinghtml/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-sphinxcontrib-serializinghtml +_pkgname=sphinxcontrib-serializinghtml +pkgver=1.1.3 +pkgrel=0 +pkgdesc="A Sphinx extension to output serialized HTML (json and pickle)" +url="https://pypi.python.org/pypi/sphinxcontrib-serializinghtml" +arch="noarch" +options="!check" # Cyclic dependency with sphinx +license="BSD-2-Clause" +depends="python3 py3-markupsafe" +makedepends="python3-dev" +checkdepends="py3-sphinx py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + PYTHONWARNINGS="all,ignore::DeprecationWarning:docutils.io" pytest --durations 25 +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="984d1760c61886408fe16c717aa1daea6591721928291267d519ea9c6eeab65d8a46d018a7c57aa8508ca408c9e919b7094d2580d30141ce7bacf5a18504cb55 py3-sphinxcontrib-serializinghtml-1.1.3.tar.gz" diff --git a/user/py3-u-msgpack-python/APKBUILD b/user/py3-u-msgpack-python/APKBUILD new file mode 100644 index 000000000..1f7f03e82 --- /dev/null +++ b/user/py3-u-msgpack-python/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-u-msgpack-python +_pkgname=u-msgpack-python +pkgver=2.5.1 +pkgrel=0 +pkgdesc="A portable, lightweight MessagePack serializer and deserializer written in pure Python." +url="https://pypi.python.org/pypi/u-msgpack-python" +arch="noarch" +license="MIT" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + pytest +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="80c9c08dd3fc7451fc84c7ba7cebada608aa7db057bedaf7875dc9c1f6771f0cd1b15dba79b1e24510e2286f792c0878b4015ba03784a41ed520139e7f27d1a9 py3-u-msgpack-python-2.5.1.tar.gz" diff --git a/user/py3-webencodings/APKBUILD b/user/py3-webencodings/APKBUILD new file mode 100644 index 000000000..8802cc1eb --- /dev/null +++ b/user/py3-webencodings/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Brandon Bergren <git@bdragon.rtk0.net> +# Maintainer: Brandon Bergren <git@bdragon.rtk0.net> +pkgname=py3-webencodings +_pkgname=webencodings +pkgver=0.5.1 +pkgrel=0 +pkgdesc="Character encoding aliases for legacy web content" +url="https://pypi.python.org/pypi/webencodings" +arch="noarch" +# Packaging error, see https://github.com/gsnedders/python-webencodings/blob/master/LICENSE +license="BSD-3-Clause" +depends="python3" +makedepends="python3-dev" +checkdepends="py3-pytest" +source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + python3 setup.py build +} + +check() { + cd "$builddir" + PYTHONPATH="build/lib:$PYTHONPATH" pytest webencodings/tests.py +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" + +} + +sha512sums="b727b01bac6ec79bca517960d27b4c0668b295f25559471b9641c2c33dab55db6dac9c990952177964c6418382c22831b14d57df5e632d51d7abf97b61f24326 py3-webencodings-0.5.1.tar.gz" |