diff options
-rw-r--r-- | testing/py-sphinx-theme-guzzle/APKBUILD | 41 | ||||
-rw-r--r-- | testing/py3-sphinx-theme-guzzle/APKBUILD | 24 |
2 files changed, 24 insertions, 41 deletions
diff --git a/testing/py-sphinx-theme-guzzle/APKBUILD b/testing/py-sphinx-theme-guzzle/APKBUILD deleted file mode 100644 index 957cab242e..0000000000 --- a/testing/py-sphinx-theme-guzzle/APKBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-sphinx-theme-guzzle -_pkgname=guzzle_sphinx_theme -pkgver=0.2.1 -pkgrel=0 -pkgdesc="The Guzzle Sphinx theme" -url="https://github.com/guzzle/guzzle_sphinx_theme" -arch="noarch" -license="BSD" -depends="python2 py-sphinx" -depends_dev="" -makedepends="python2-dev py-setuptools" -install="" -subpackages="" -source="https://files.pythonhosted.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" - python2 setup.py build || return 1 -} - -package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 -} - -md5sums="d66821491087ad33b2a030f5f155bf31 guzzle_sphinx_theme-0.2.1.tar.gz" -sha256sums="73799d1789c07ff89a84f2c13dafce06e8d9c91ae5de9b5ce907b5f5b59fcad8 guzzle_sphinx_theme-0.2.1.tar.gz" -sha512sums="2775b47a2ee27ab42de8247322676ab1bf2c4beb67e4c574b05ba08c22a71b61d5766d4dfa955f1f0dccfd57526b8251d8cec875bbf53d86e98402ddf3d20a81 guzzle_sphinx_theme-0.2.1.tar.gz" diff --git a/testing/py3-sphinx-theme-guzzle/APKBUILD b/testing/py3-sphinx-theme-guzzle/APKBUILD new file mode 100644 index 0000000000..8ecb6278bd --- /dev/null +++ b/testing/py3-sphinx-theme-guzzle/APKBUILD @@ -0,0 +1,24 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py3-sphinx-theme-guzzle +_pkgname=guzzle_sphinx_theme +pkgver=0.2.1 +pkgrel=0 +pkgdesc="The Guzzle Sphinx theme" +url="https://github.com/guzzle/guzzle_sphinx_theme" +arch="noarch" +license="MIT" +depends="py3-sphinx" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="2775b47a2ee27ab42de8247322676ab1bf2c4beb67e4c574b05ba08c22a71b61d5766d4dfa955f1f0dccfd57526b8251d8cec875bbf53d86e98402ddf3d20a81 guzzle_sphinx_theme-0.2.1.tar.gz" |