diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 12:51:46 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-08 13:12:46 -0300 |
commit | e33d52d25f089706745aa35928acc8e5f573742f (patch) | |
tree | ab4658b3bd1d3f14cec8a431b8269c91b9da4eb0 /testing/py3-sphinx-theme-readable | |
parent | de4c2a62d6314351f832d4b182ee4dd0269c530c (diff) | |
download | aports-e33d52d25f089706745aa35928acc8e5f573742f.tar.bz2 aports-e33d52d25f089706745aa35928acc8e5f573742f.tar.xz |
testing/py3-sphinx-theme-readable: rename from py-sphinx-theme-readable
Diffstat (limited to 'testing/py3-sphinx-theme-readable')
-rw-r--r-- | testing/py3-sphinx-theme-readable/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py3-sphinx-theme-readable/APKBUILD b/testing/py3-sphinx-theme-readable/APKBUILD new file mode 100644 index 0000000000..6b15a02fdc --- /dev/null +++ b/testing/py3-sphinx-theme-readable/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-sphinx-theme-readable +_pkgname=sphinx-readable-theme +pkgver=1.3.0 +pkgrel=0 +pkgdesc="The Readable Sphinx theme" +url="https://github.com/ignacysokolowski/sphinx-readable-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="57e396552315d3c8034874c9eaef160f sphinx-readable-theme-1.3.0.tar.gz" +sha256sums="f5fe65a2e112cb956b366df41e0fc894ff6b6f0e4a4814fcbff692566db47fc0 sphinx-readable-theme-1.3.0.tar.gz" +sha512sums="e0810973fe77434efd7ca442c26784f5d894322832555953ff0c900835707bd797b5ce8308510590f31fe2a5f61e0ed465b3316cd8a3fa2f5ca9b1c5f432feaf sphinx-readable-theme-1.3.0.tar.gz" |