[arch-commits] Commit in python-sphinx-alabaster-theme/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Oct 25 16:08:00 UTC 2019


    Date: Friday, October 25, 2019 @ 16:07:59
  Author: felixonmars
Revision: 519391

archrelease: copy trunk to community-staging-any

Added:
  python-sphinx-alabaster-theme/repos/community-staging-any/
  python-sphinx-alabaster-theme/repos/community-staging-any/PKGBUILD
    (from rev 519388, python-sphinx-alabaster-theme/trunk/PKGBUILD)

----------+
 PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

Copied: python-sphinx-alabaster-theme/repos/community-staging-any/PKGBUILD (from rev 519388, python-sphinx-alabaster-theme/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 16:07:59 UTC (rev 519391)
@@ -0,0 +1,42 @@
+# Maintainer: Johannes Löthberg <johannes at kyriasis.com>
+# Contributor: xantares
+
+pkgbase=python-sphinx-alabaster-theme
+pkgname=(python-sphinx-alabaster-theme python2-sphinx-alabaster-theme)
+pkgver=0.7.12
+pkgrel=2
+
+pkgdesc="Sphinx default theme"
+url='https://github.com/bitprophet/alabaster'
+arch=('any')
+license=('custom:BSD')
+
+makedepends=('python-setuptools' 'python2-setuptools')
+
+source=("https://pypi.org/packages/source/a/alabaster/alabaster-$pkgver.tar.gz")
+
+md5sums=('3591827fde96d1dd23970fb05410ed04')
+
+build() {
+	cp -r alabaster-"$pkgver" alabaster-"$pkgver"-py2
+
+	cd alabaster-"$pkgver"
+	python setup.py build
+
+	cd "$srcdir"/alabaster-"$pkgver"-py2
+	python2 setup.py build
+}
+
+package_python-sphinx-alabaster-theme() {
+	cd alabaster-"$pkgver"
+	python setup.py install --root="$pkgdir" --optimize=1
+
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}
+
+package_python2-sphinx-alabaster-theme() {
+	cd alabaster-"$pkgver"-py2
+	python2 setup.py install --root="$pkgdir" --optimize=1
+
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
+}



More information about the arch-commits mailing list