[arch-commits] Commit in sigal/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 07:15:32 UTC 2019


    Date: Monday, November 4, 2019 @ 07:15:32
  Author: felixonmars
Revision: 523470

archrelease: copy trunk to community-staging-any

Added:
  sigal/repos/community-staging-any/
  sigal/repos/community-staging-any/PKGBUILD
    (from rev 523469, sigal/trunk/PKGBUILD)

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

Copied: sigal/repos/community-staging-any/PKGBUILD (from rev 523469, sigal/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 07:15:32 UTC (rev 523470)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=sigal
+pkgver=2.0
+pkgrel=2
+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