[arch-commits] Commit in sigal/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Jan 29 20:30:11 UTC 2019
Date: Tuesday, January 29, 2019 @ 20:30:10
Author: dvzrv
Revision: 428437
archrelease: copy trunk to community-any
Added:
sigal/repos/community-any/PKGBUILD
(from rev 428436, sigal/trunk/PKGBUILD)
Deleted:
sigal/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 43 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-29 20:30:03 UTC (rev 428436)
+++ PKGBUILD 2019-01-29 20:30:10 UTC (rev 428437)
@@ -1,47 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=sigal
-pkgver=1.4.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-pillow' 'python-pilkit' 'python-setuptools')
-checkdepends=('python-pytest-cov' 'python-boto' 'python-brotli' 'python-feedgenerator' 'python-zopfli')
-optdepends=('python-boto: upload to S3 plugin'
- 'python-brotli: compress assets plugin'
- 'python-feedgenerator: feed plugin'
- 'python-zopfli: compress assets plugin')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/saimn/${pkgname}/archive/${pkgver}.tar.gz")
-# tests are not included in pypi source: https://github.com/saimn/sigal/issues/337
-#source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('21d8f8d7cd0fc557f72158e4208bf97ec3aa0ae1408e6a5a7870d3e2f6af1644f366f4ecbb3d2714d7ec948b0f91afe6fac6031b91da223cdebb78459614dc73')
-
-prepare() {
- cd "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH=build:${PYTHONPATH}
- # test_album fails because of missing fr_FR.UTF-8 locale:
- # https://github.com/saimn/sigal/issues/338
- py.test -k "not test_album"
-}
-
-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 428436, sigal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-29 20:30:10 UTC (rev 428437)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=sigal
+pkgver=2.0
+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-pillow' 'python-pilkit' 'python-setuptools')
+checkdepends=('python-pytest-cov' 'python-boto' 'python-brotli' 'python-feedgenerator' 'python-zopfli')
+optdepends=('python-boto: upload to S3 plugin'
+ 'python-brotli: compress assets 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=('b6b1a38472864dd5168c23ba12d317d75052c6e339a9b3d3a93b493ffce69f8319df5d47d77327314c5828b74230c8c4a03009ef2b172afec2de748d0323b5f2')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH=build:${PYTHONPATH}
+ py.test
+}
+
+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