diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-10-01 18:40:28 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-10-01 18:40:28 +0200 |
commit | 05a1149777fd22df939b865918a011f31fe9eae1 (patch) | |
tree | de5f47cb1b0a8e725a8b2ba2931c1a1abb1c8919 | |
parent | 6ccdcfb666569afda6a2bf76766a8eb77da3e996 (diff) | |
download | aports-05a1149777fd22df939b865918a011f31fe9eae1.tar.bz2 aports-05a1149777fd22df939b865918a011f31fe9eae1.tar.xz |
main/py-sphinx_rtd_theme: new aport
-rw-r--r-- | main/py-sphinx_rtd_theme/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/py-sphinx_rtd_theme/APKBUILD b/main/py-sphinx_rtd_theme/APKBUILD new file mode 100644 index 0000000000..3e0f4fd0dd --- /dev/null +++ b/main/py-sphinx_rtd_theme/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-sphinx_rtd_theme +pkgver=0.1.9 +pkgrel=0 +pkgdesc="Sphinx theme for readthedocs.org" +url="https://github.com/snide/sphinx_rtd_theme" +arch="noarch" +license="MIT" +depends="" +depends_dev="" +makedepends="$depends_dev python-dev" +install="" +subpackages="" +source="sphinx_rtd_theme-$pkgver.tar.gz::https://github.com/snide/sphinx_rtd_theme/archive/$pkgver.tar.gz" + +_builddir="$srcdir"/sphinx_rtd_theme-$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" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="f1745463231113bb2677ad34f0a20b3a sphinx_rtd_theme-0.1.9.tar.gz" +sha256sums="46fd802c696b78e2681b21084c0d96c36e12b118c4c0cdf94f4a0702138f82a5 sphinx_rtd_theme-0.1.9.tar.gz" +sha512sums="2ac313c8cf276bb8fc8c92cb3f39c1e216f8e0072a11a26af4fb6a37132e45b1c472c1f9625f171a411b0fcb909cc695b0af5f3def53ffa0ec3f568df7b0b197 sphinx_rtd_theme-0.1.9.tar.gz" |