13 files changed, 19 insertions(+), 542 deletions(-)
M README.md
M build.yml
D sr.ht/py-beautifulsoup4/APKBUILD
D sr.ht/py-cairocffi/APKBUILD
D sr.ht/py-cairosvg/APKBUILD
D sr.ht/py-cryptography/APKBUILD
D sr.ht/py-cssselect2/APKBUILD
D sr.ht/py-pdfrw/APKBUILD
D sr.ht/py-pygit2/APKBUILD
D sr.ht/py-tinycss2/APKBUILD
D sr.ht/py-weasyprint/APKBUILD
D sr.ht/py3-nose/APKBUILD
D sr.ht/py3-redis/APKBUILD
M README.md => README.md +17 -4
@@ 1,10 1,23 @@
-These are [Alpine Linux]() packages for sr.ht and any dependencies which are not
-packaged in upstream Alpine Linux. The results are published in our Alpine
-repository:
+These are [Alpine Linux](https://alpinelinux.org) packages for sr.ht and any
+dependencies which are not packaged in upstream Alpine Linux. The results are
+published in our Alpine repository:
-https://mirror.sr.ht/alpine/sr.ht/
+https://mirror.sr.ht/alpine/
Note that some sr.ht packages (meta.sr.ht, python-srht, etc) are automatically
built and published by builds.sr.ht. This process automatically updates the
pkgver and pkgrel, but does not commit it to the repository. If using these
APKBUILDs yourself, be aware that the version numbers here may be outdated.
+
+## Alpine upgrade procedure
+
+When a new Alpine version is released:
+
+1. Update the Alpine version in build.yml
+1. Comment out the custom repo and `./submit-build` with a simple package to
+ bootstrap the index
+1. `./submit-build` everything else _except_ for *.sr.ht
+1. Update pkgver in *.sr.ht packages, commit & push & run `./submit-build`
+1. Update build manifests upstream for *.sr.ht
+1. Run updates on non-critical boxen
+1. Run updates on all boxen
M build.yml => build.yml +2 -2
@@ 1,7 1,7 @@
-image: alpine/3.9
+image: alpine/3.10
repositories:
sr.ht: >
- https://mirror.sr.ht/alpine/v3.9/sr.ht/
+ https://mirror.sr.ht/alpine/v3.10/sr.ht/
https://mirror.sr.ht/alpine/alpine%40sr.ht.rsa.pub
alpine@sr.ht.rsa.pub
packages:
D sr.ht/py-beautifulsoup4/APKBUILD => sr.ht/py-beautifulsoup4/APKBUILD +0 -64
@@ 1,64 0,0 @@
-# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
-# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
-pkgname=py-beautifulsoup4
-_pkgname=beautifulsoup4
-pkgver=4.6.1
-pkgrel=1
-pkgdesc="A Python HTML/XML parser"
-url="http://www.crummy.com/software/BeautifulSoup/index.html"
-arch="noarch"
-license="MIT"
-makedepends="python2-dev py-setuptools python3-dev"
-subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
-
-prepare() {
- default_prepare
-
- local python; for python in python2 python3; do
- cp -r "$builddir" "$builddir-$python"
- done
-
- cd "$builddir-python3"
- 2to3 -w bs4 >/dev/null
-}
-
-build() {
- local python; for python in python2 python3; do
- cd "$builddir-$python"
- $python setup.py build
- done
-}
-
-check() {
- local python; for python in python2 python3; do
- cd "$builddir-$python"
- $python -c "import bs4"
- done
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py2() {
- replaces="$pkgname"
- _py python2
-}
-
-_py3() {
- _py python3
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- depends="$python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
-
- cd "$builddir-$python"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-sha512sums="598f6be620d6c656bdab6d0d6e767a1ffc695a790dc5e3e8cc0f411555de1c52ef1972c93d0916135375c74e5272dd112f00e5ed2fb12a12c90d5d30d852e91c beautifulsoup4-4.6.1.tar.gz"
D sr.ht/py-cairocffi/APKBUILD => sr.ht/py-cairocffi/APKBUILD +0 -49
@@ 1,49 0,0 @@
-# Contributor:
-# Contributor: Stefan Wagner <stw@bit-strickerei.de>
-# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
-pkgname=py-cairocffi
-_pkgname=cairocffi
-pkgver=0.9.0
-pkgrel=1
-pkgdesc="Python CFFI-based binding to Cairo and GDK-PixBuf"
-url="https://pythonhosted.org/cairocffi/"
-arch="noarch"
-license="BSD"
-depends="py-cffi cairo gdk-pixbuf"
-makedepends="python2-dev python3-dev py-setuptools"
-subpackages="py2-$_pkgname:_py2 py3-$_pkgname:_py3"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir"/$_pkgname-$pkgver
-options="!check"
-
-build() {
- cd "$builddir"
- python2 setup.py build
- python3 setup.py build
-}
-
-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="0d3d54e0d54b3696c8336d8b3a6d745628da51d9d9f8c50f36006c007e1432a95dd9bafd8d865923059d040cc4e9f7989b3670a5318383b357ffc979eeb920d5 cairocffi-0.9.0.tar.gz"
D sr.ht/py-cairosvg/APKBUILD => sr.ht/py-cairosvg/APKBUILD +0 -44
@@ 1,44 0,0 @@
-# Contributor: William Pitcock <nenolod@dereferenced.org>
-# Maintainer: William Pitcock <nenolod@dereferenced.org>
-pkgname=py-cairosvg
-_pkgname=CairoSVG
-pkgver=2.4.0
-pkgrel=0
-pkgdesc="Cairo-based SVG renderer for python"
-url="http://cairosvg.org"
-arch="noarch"
-license="LGPL-3.0-or-later"
-depends="py-cairocffi py-pillow py-cssselect2 py-defusedxml"
-subpackages="py3-${pkgname#py-}:_py3"
-makedepends="python3-dev py-setuptools pytest"
-source="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 check
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py3() {
- cd "$builddir"
- _py python3
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- depends="$python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-sha512sums="07eeaffa584b1c40c88c3d287b041c3f097700e49b8d85ba80e8dbc1f27aee6e5cf488db0174fc72783a727c29b6b578b1ff31d86833723681cc7fb084226c46 CairoSVG-2.4.0.tar.gz"
D sr.ht/py-cryptography/APKBUILD => sr.ht/py-cryptography/APKBUILD +0 -56
@@ 1,56 0,0 @@
-# Contributor: August Klein <amatcoder@gmail.com>
-# Maintainer: August Klein <amatcoder@gmail.com>
-pkgname=py-cryptography
-_pkgname=${pkgname#py-}
-pkgver=2.6.1
-pkgrel=0
-pkgdesc="A package which provides cryptographic recipes and primitives"
-url="https://pypi.python.org/pypi/cryptography"
-arch="all"
-license="Apache-2.0"
-depends="py-cffi py-idna py-asn1crypto py-six"
-makedepends="python2-dev python3-dev py-setuptools libffi-dev openssl-dev"
-subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2"
-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
- python3 setup.py build
-}
-
-check() {
- cd "$builddir"
- python2 setup.py check
- python3 setup.py check
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
-
- cd "$builddir"
- $python setup.py install --prefix=/usr \
- --root="$subpkgdir" --optimize=1
-}
-
-_py2() {
- depends="${depends//py-/py2-} py2-ipaddress py-enum34"
- replaces="$pkgname"
- _py python2
-}
-
-_py3() {
- depends="${depends//py-/py3-}"
- _py python3
-}
-
-sha512sums="f14319e24d9dca52e74548cada5b78a6235f089ef875dbff4799e862f94da8b087f1b6e03e84dcef9fc7d7693c4a349c5f0cd54b8535806da777420ce8757d39 cryptography-2.6.1.tar.gz"
D sr.ht/py-cssselect2/APKBUILD => sr.ht/py-cssselect2/APKBUILD +0 -61
@@ 1,61 0,0 @@
-# Contributor: Drew DeVault <sir@cmpwn.com>
-# Maintainer: Drew DeVault <sir@cmpwn.com>
-pkgname=py-cssselect2
-_pkgname=cssselect2
-pkgver=0.2.1
-pkgrel=0
-pkgdesc="CSS selectors for Python ElementTree"
-url="https://pypi.org/projects/cssselect2/"
-arch="noarch"
-license="BSD"
-depends="py-tinycss2"
-subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-makedepends="
- python2-dev python3-dev py-setuptools py-tinycss2 py-flake8 pytest
-"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir"/$_pkgname-$pkgver
-
-prepare() {
- cd "$builddir"
- sed -e 's/--cov=cssselect2//' -i setup.cfg
- cp -r "$builddir" "$builddir"-py3
-}
-
-build() {
- cd "$builddir"
- python2 setup.py build
- cd "$builddir"-py3
- python3 setup.py build
-}
-
-check() {
- cd "$builddir"
- python2 setup.py pytest
- cd "$builddir"-py3
- python3 setup.py pytest
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py2() {
- cd "$builddir"
- _py python2
-}
-
-_py3() {
- cd "$builddir"
- _py python3
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- depends="$python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-sha512sums="88490de859175e1cba84257e8ebb6618b388f24f0e121195a013e74c783a5aef0c2aed002eb1a46512392e988b4014824f547bd3c55c645e8c30ad62dd8c1a14 cssselect2-0.2.1.tar.gz"
D sr.ht/py-pdfrw/APKBUILD => sr.ht/py-pdfrw/APKBUILD +0 -50
@@ 1,50 0,0 @@
-# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com>
-# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
-pkgname=py-pdfrw
-_pkgname=pdfrw
-pkgver=0.4
-pkgrel=1
-pkgdesc="Python library that reads and writes PDFs"
-url="https://github.com/pmaupin/pdfrw"
-arch="noarch"
-license="MIT"
-makedepends="python2-dev python3-dev py-setuptools"
-subpackages="py3-${pkgname#py-}:_py3 py2-${pkgname#py-}:_py2"
-source="$pkgname-$pkgver.tar.gz::https://github.com/pmaupin/pdfrw/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
-
-build() {
- cd "$builddir"
- python2 setup.py build
- python3 setup.py build
-}
-
-check() {
- cd "$builddir"
- python2 setup.py check
- python3 setup.py check
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_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"
-}
-
-_py2() {
- _py python2
-}
-
-_py3() {
- _py python3
-}
-
-sha512sums="b80c703b0c72fd49af6fe8c206fd626c51e6786e3cf40f9f01ea9e8a5a0e15bedd08181fd808e96eb432f3a408112314706680bcc08e5d4ac273517538cd6608 py-pdfrw-0.4.tar.gz"
D sr.ht/py-pygit2/APKBUILD => sr.ht/py-pygit2/APKBUILD +0 -53
@@ 1,53 0,0 @@
-# Contributor: Pierre-Gildas MILLON <pgmillon@gmail.com>
-# Maintainer:
-pkgname=py-pygit2
-_pkgname=pygit2
-pkgver=0.28.0
-pkgrel=0
-pkgdesc="Python bindings for libgit2"
-url="https://github.com/libgit2/pygit2"
-arch="all"
-license="GPL-2.0-only-WITH-GCC-exception-2.0"
-depends="py-cffi py-six"
-makedepends="python2-dev python3-dev py-setuptools libgit2-dev"
-subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-source="https://pypi.io/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
-
-build() {
- cd "$builddir"
- python2 setup.py build
- python3 setup.py build
-}
-
-check() {
- cd "$builddir"
- python2 setup.py check
- python3 setup.py check
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py2() {
- replaces="$pkgname"
- depends="${depends//py-/py2-}"
- _py python2
-}
-
-_py3() {
- depends="${depends//py-/py3-}"
- _py python3
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
-
- cd "$builddir"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-sha512sums="a14751708873559ca653fda7c63dee47e4e7086c61c64b139c0dae0d1c66ea2ef3fd74afb774aa03f64aae34168828dd0c2b4533e137bd8bdc22a4104bb3e79e pygit2-0.28.0.tar.gz"
D sr.ht/py-tinycss2/APKBUILD => sr.ht/py-tinycss2/APKBUILD +0 -61
@@ 1,61 0,0 @@
-# Contributor: Drew DeVault <sir@cmpwn.com>
-# Maintainer: Drew DeVault <sir@cmpwn.com>
-pkgname=py-tinycss2
-_pkgname=tinycss2
-pkgver=0.6.1
-pkgrel=0
-pkgdesc="Low-level CSS parser for Python"
-url="https://pypi.python.org/pypi/tinycss2"
-arch="noarch"
-license="BSD"
-depends="py-webencodings"
-subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-makedepends="
- python2-dev python3-dev py-setuptools py-tinycss2 py-flake8 pytest
-"
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-builddir="$srcdir"/$_pkgname-$pkgver
-
-prepare() {
- cd "$builddir"
- sed -e 's/--cov=tinycss2//' -i setup.cfg
- cp -r "$builddir" "$builddir"-py3
-}
-
-build() {
- cd "$builddir"
- python2 setup.py build
- cd "$builddir"-py3
- python3 setup.py build
-}
-
-check() {
- cd "$builddir"
- python2 setup.py pytest
- cd "$builddir"-py3
- python3 setup.py pytest
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py2() {
- cd "$builddir"
- _py python2
-}
-
-_py3() {
- cd "$builddir"
- _py python3
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- depends="$python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-sha512sums="fa064bbb06d641a497a3c1eb35118bbf8ca8c4d32fbd3d8c64bb10d6cdab24387e77cd4c3277a957f23de2bd527a407836245f4387d7f880958858bd9cc7ab89 tinycss2-0.6.1.tar.gz"
D sr.ht/py-weasyprint/APKBUILD => sr.ht/py-weasyprint/APKBUILD +0 -47
@@ 1,47 0,0 @@
-# Contributor: William Pitcock <nenolod@dereferenced.org>
-# Maintainer: William Pitcock <nenolod@dereferenced.org>
-pkgname=py-weasyprint
-_pkgname=WeasyPrint
-pkgver=0.42.3
-pkgrel=0
-pkgdesc="cairo-based HTML renderer for python"
-url="http://weasyprint.org"
-arch="noarch"
-license="LGPL"
-depends="
- pango cairo py-cairocffi py-cairosvg py-cssselect2 py-tinycss2 py-pyphen
- py-lxml py-pdfrw
-"
-subpackages="py3-${pkgname#py-}:_py3"
-makedepends="python3-dev py-setuptools"
-source="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 check
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py3() {
- cd "$builddir"
- _py python3
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- depends="$python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-sha512sums="d6007934c301904308bd4821626d6a7bb504268c5c71a31f7486faebb3dd649fad18774737cab39eb13a0916635bb58eba2c8432c72cc5a461cea2a5d874b1ee WeasyPrint-0.42.3.tar.gz"
D sr.ht/py3-nose/APKBUILD => sr.ht/py3-nose/APKBUILD +0 -26
@@ 1,26 0,0 @@
-# Maintainer: Drew DeVault <sir@cmpwn.com>
-_name=nose
-pkgname=py3-nose
-pkgver=1.3.7
-pkgrel=0
-pkgdesc="A discovery-based unittest extension"
-url="http://readthedocs.org/docs/nose"
-arch="noarch"
-license="LGPL"
-depends="python3"
-makedepends="py-setuptools"
-source="https://files.pythonhosted.org/packages/source/n/${_name}/${_name}-${pkgver}.tar.gz"
-builddir="$srcdir/${_name}-${pkgver}"
-options="$options !check"
-
-build() {
- cd "$builddir"
- python3 setup.py build
-}
-
-package() {
- cd "$builddir"
- python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-sha512sums="e65c914f621f8da06b9ab11a0ff2763d6e29b82ce2aaed56da0e3773dc899d9deb1f20015789d44c65a5dad7214520f5b659b3f8d7695fb207ad3f78e5cf1b62 nose-1.3.7.tar.gz"
D sr.ht/py3-redis/APKBUILD => sr.ht/py3-redis/APKBUILD +0 -25
@@ 1,25 0,0 @@
-# Maintainer: Drew DeVault <sir@cmpwn.com>
-_name=redis
-pkgname=py3-redis
-pkgver=2.10.6
-pkgrel=0
-pkgdesc="The Python interface to the Redis key-value store"
-url="https://github.com/andymccurdy/redis-py"
-arch="noarch"
-license="MIT"
-depends="python3"
-makedepends="py-setuptools"
-source="$_name-$pkgver.tar.gz::https://github.com/andymccurdy/redis-py/archive/${pkgver}.tar.gz"
-builddir="$srcdir/${_name}-py-${pkgver}"
-
-build() {
- cd "$builddir"
- python3 setup.py build
-}
-
-package() {
- cd "$builddir"
- python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-sha512sums="b3a674ec248add9d6fd537c2d98bda48fc1867d111015dee772812e04e92dab879a2f913fb5d366ea3bb8469da6f1c91bdb3d73e797405d14a52109ff125a122 redis-2.10.6.tar.gz"