[arch-commits] Commit in sigal/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Aug 4 08:23:04 UTC 2020
Date: Tuesday, August 4, 2020 @ 08:23:03
Author: dvzrv
Revision: 668749
archrelease: copy trunk to community-any
Added:
sigal/repos/community-any/PKGBUILD
(from rev 668748, sigal/trunk/PKGBUILD)
Deleted:
sigal/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-04 08:23:01 UTC (rev 668748)
+++ PKGBUILD 2020-08-04 08:23:03 UTC (rev 668749)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=sigal
-pkgver=2.1
-pkgrel=1
-pkgdesc="Yet another simple static gallery generator"
-arch=('any')
-url="http://sigal.saimon.org/en/latest/"
-license=('MIT')
-depends=('ffmpeg' 'python-blinker' 'python-click' 'python-jinja'
-'python-markdown' 'python-natsort' 'python-pillow' 'python-pilkit'
-'python-setuptools')
-checkdepends=('python-pytest-cov' 'python-boto' 'python-brotli'
-'python-cryptography' 'python-feedgenerator' 'python-zopfli')
-optdepends=('python-boto: upload to S3 plugin'
- 'python-brotli: compress assets plugin'
- 'python-cryptography: encrypt plugin'
- 'python-feedgenerator: feed plugin'
- 'python-zopfli: compress assets plugin')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('951755295ad971360a0d3b219a2649f5d0c7d1dbdec73a2178e1802ddd3a6693ffd50a42edef80b0188554b49fa21952e9b12738321ec23c48f3a24761385eaf')
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH=build:${PYTHONPATH}
- # disabling failing test: https://github.com/saimn/sigal/issues/390
- pytest -v -k 'not test_generate_thumbnail'
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 {AUTHORS,{CONTRIBUTING,README}.rst} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: sigal/repos/community-any/PKGBUILD (from rev 668748, sigal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-04 08:23:03 UTC (rev 668749)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=sigal
+pkgver=2.1.1
+pkgrel=1
+pkgdesc="Yet another simple static gallery generator"
+arch=('any')
+url="http://sigal.saimon.org/en/latest/"
+license=('MIT')
+depends=('ffmpeg' 'python-blinker' 'python-click' 'python-jinja'
+'python-markdown' 'python-natsort' 'python-pillow' 'python-pilkit'
+'python-setuptools')
+checkdepends=('python-pytest-cov' 'python-boto' 'python-brotli'
+'python-cryptography' 'python-feedgenerator' 'python-zopfli')
+optdepends=('python-boto: upload to S3 plugin'
+ 'python-brotli: compress assets plugin'
+ 'python-cryptography: encrypt plugin'
+ 'python-feedgenerator: feed plugin'
+ 'python-zopfli: compress assets plugin')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('0cf84087202cdcf060a0f3b3e166871f7f98c4736f68aadbae3dd4b69e58fca09194f1b7a7170deb5b480516183844c9c16793f4d2775a9ea0039693c0232baf')
+b2sums=('472e0957f0169a51e967fa2954f00f121b8431bc6c09c450443b06eac98cd1fa335afa9f202976955a23e44e6bfa2a3cad8c5667127cce26033a9fcaedbd04c8')
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ pytest -v
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 {AUTHORS,{CONTRIBUTING,README}.rst} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list