[arch-commits] Commit in python-pallets-sphinx-themes/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 18:16:14 UTC 2020
Date: Monday, November 9, 2020 @ 18:16:14
Author: foutrelis
Revision: 747915
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 747914, 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 747914, python-pallets-sphinx-themes/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 18:16:14 UTC (rev 747915)
@@ -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=6
+pkgdesc='Sphinx themes for Pallets and related projects'
+url='https://github.com/pallets/pallets-sphinx-themes'
+arch=('any')
+license=('BSD')
+depends=('python' 'python-sphinx' 'python-importlib-metadata')
+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