[arch-commits] Commit in python-pallets-sphinx-themes/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Oct 26 04:34:29 UTC 2019
Date: Saturday, October 26, 2019 @ 04:34:28
Author: felixonmars
Revision: 520046
archrelease: copy trunk to community-staging-any
Added:
python-pallets-sphinx-themes/repos/community-staging-any/
python-pallets-sphinx-themes/repos/community-staging-any/PKGBUILD
(from rev 520044, python-pallets-sphinx-themes/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-pallets-sphinx-themes/repos/community-staging-any/PKGBUILD (from rev 520044, python-pallets-sphinx-themes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 04:34:28 UTC (rev 520046)
@@ -0,0 +1,28 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgname=python-pallets-sphinx-themes
+_pyname=${pkgname/python-/}
+pkgver=1.2.2
+pkgrel=2
+pkgdesc='Sphinx themes for Pallets and related projects'
+url='https://github.com/pallets/pallets-sphinx-themes'
+arch=('any')
+license=('BSD')
+depends=('python' 'python-sphinx')
+makedepends=('python-setuptools')
+source=(https://github.com/pallets/pallets-sphinx-themes/archive/${pkgver}/${_pyname}-${pkgver}.tar.gz)
+sha512sums=('3e4a1c278179e1595b40541eeabf9d2e642d5693d802a7e775829d96b8ed1031ebb08b608c688e8ec9e6a9c41f72523006a77948f93f938f265c5da26eb7d478')
+
+build() {
+ cd ${_pyname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd ${_pyname}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}" --skip-build
+ install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list