diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-10-01 13:48:52 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-10-01 14:03:40 +0200 |
commit | 627788221efe54731c63cb598e2694c44d296814 (patch) | |
tree | 57663d439a6c601a15f2b5aac76024e74bee99a3 /testing/py-mkdocs-bootswatch | |
parent | d5cc7f6fad04aedf2773b0f54d14860eed29308d (diff) | |
download | aports-627788221efe54731c63cb598e2694c44d296814.tar.bz2 aports-627788221efe54731c63cb598e2694c44d296814.tar.xz |
main/py-mkdocs-bootswatch: new aport
Diffstat (limited to 'testing/py-mkdocs-bootswatch')
-rw-r--r-- | testing/py-mkdocs-bootswatch/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-mkdocs-bootswatch/APKBUILD b/testing/py-mkdocs-bootswatch/APKBUILD new file mode 100644 index 0000000000..6737b2f084 --- /dev/null +++ b/testing/py-mkdocs-bootswatch/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=py-mkdocs-bootswatch +pkgver=0.1.0 +pkgrel=0 +pkgdesc="MkDocs Bootswatch Themes" +url="https://github.com/mkdocs/mkdocs-bootswatch" +arch="noarch" +license="BSD" +depends="" +depends_dev="" +makedepends="$depends_dev py-setuptools" +install="" +subpackages="" +source="mkdocs-bootswatch-$pkgver.tar.gz::https://github.com/mkdocs/mkdocs-bootswatch/archive/$pkgver.tar.gz" + +_builddir="$srcdir"/mkdocs-bootswatch-$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="3d20297a046ec2b1fbc0134262130112 mkdocs-bootswatch-0.1.0.tar.gz" +sha256sums="82537b39ba4ccbeda19a53cc6f2e5fcb7b7700cdd27709506eb1043ff712fb04 mkdocs-bootswatch-0.1.0.tar.gz" +sha512sums="e3762d7edb4533620eae1fd0764f216be07aa49acde98b6df074bb29f80c6b3d10e97a465663adcff81f7702de976f28dbf78dbeb9a556f87b69605bd951fbb5 mkdocs-bootswatch-0.1.0.tar.gz" |