diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-10-01 13:48:39 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-10-01 14:03:40 +0200 |
commit | d5cc7f6fad04aedf2773b0f54d14860eed29308d (patch) | |
tree | 8893dfafd60d43ac596c1235ad973f586028caf5 /testing/py-mkdocs-bootstrap/APKBUILD | |
parent | ac8a0b2745ff3ea19d924b3c3ec91182dcf6a702 (diff) | |
download | aports-d5cc7f6fad04aedf2773b0f54d14860eed29308d.tar.bz2 aports-d5cc7f6fad04aedf2773b0f54d14860eed29308d.tar.xz |
testing/py-mkdocs-bootstrap: new aport
Diffstat (limited to 'testing/py-mkdocs-bootstrap/APKBUILD')
-rw-r--r-- | testing/py-mkdocs-bootstrap/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-mkdocs-bootstrap/APKBUILD b/testing/py-mkdocs-bootstrap/APKBUILD new file mode 100644 index 0000000000..690d75a786 --- /dev/null +++ b/testing/py-mkdocs-bootstrap/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-mkdocs-bootstrap +pkgver=0.1.1 +pkgrel=0 +pkgdesc="MkDocs Bootstrap Theme" +url="https://github.com/mkdocs/mkdocs-bootstrap" +arch="noarch" +license="BSD" +depends="mkdocs" +depends_dev="" +makedepends="$depends_dev py-setuptools" +install="" +subpackages="" +source="mkdocs-bootstrap-$pkgver.tar.gz::https://github.com/mkdocs/mkdocs-bootstrap/archive/$pkgver.tar.gz" + +_builddir="$srcdir"/mkdocs-bootstrap-$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="f0f0fc57fdf2a93ab764013ebc38c638 mkdocs-bootstrap-0.1.1.tar.gz" +sha256sums="215fd357e51f9505e5f5ac45e3c0bb15ed431c3c24abf8f1f3afff66fd51f842 mkdocs-bootstrap-0.1.1.tar.gz" +sha512sums="c3f91ea22f0393f4ffcb5158ae5401e74abe6f937cc964c605e1ba40ecf0b17a27841558c49d9a79f302fdc8198fff5b8c5d278374ab0c59646b243488cbf719 mkdocs-bootstrap-0.1.1.tar.gz" |