[arch-commits] Commit in nikola/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Mar 4 16:44:06 UTC 2019


    Date: Monday, March 4, 2019 @ 16:44:05
  Author: dvzrv
Revision: 437544

archrelease: copy trunk to community-any

Added:
  nikola/repos/community-any/PKGBUILD
    (from rev 437543, nikola/trunk/PKGBUILD)
Deleted:
  nikola/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  160 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 80 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-04 16:43:59 UTC (rev 437543)
+++ PKGBUILD	2019-03-04 16:44:05 UTC (rev 437544)
@@ -1,80 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=Nikola
-pkgname=nikola
-pkgver=8.0.1
-pkgrel=1
-pkgdesc="A static site and blog generator"
-arch=('any')
-url="https://getnikola.com/"
-license=('MIT')
-depends=('python-babel' 'python-blinker' 'python-doit' 'python-dateutil'
-'python-docutils' 'python-logbook' 'python-lxml' 'python-mako'
-'python-markdown' 'python-natsort' 'python-piexif' 'python-pillow'
-'python-pygments' 'python-pyrss2gen' 'python-requests' 'python-setuptools'
-'python-unidecode' 'python-yapsy')
-makedepends=('python-jinja' 'python-pyphen' 'python-husl' 'jupyter-notebook'
-'python-ipykernel' 'python-pyaml' 'python-toml' 'python-micawber'
-'python-ghp-import' 'python-phpserialize' 'python-pygal' 'python-typogrify'
-'python-watchdog')
-checkdepends=('python-coverage' 'python-freezegun' 'python-pytest-cov')
-optdepends=('jupyter-notebook: .ipynb support'
-            'python-aiohttp: for `nikola auto`'
-            'python-ghp-import: for upload to Github pages'
-            'python-husl: optional color support'
-            'python-ipykernel: .ipynb support'
-            'python-jinja: jinja2 based themes'
-            'python-micawber: for embedding media in posts'
-            'python-phpserialize: for Wordpress import'
-            'python-pygal: for SVG graph plotting'
-            'python-pyphen: hyphenation support'
-            'python-pyaml: for something'
-            'python-toml: .toml support'
-            'python-typogrify: for typographical enhancements'
-            'python-watchdog: for `nikola auto`')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('3063e762889daed50db23e8a376e072f075fae1271cc823b54782e97b20ac9a71f32360160465aa3c68b02cc4cb7b7c500cde82676ab9be002b46820a0bfb292')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  # removing upper limit for python-markdown (seemingly compatible to 3.0.1)
-  # https://github.com/getnikola/nikola/issues/3173
-  sed -e 's/,<3.0.0//' -i requirements.txt
-}
-
-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.txt \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -vDm 644 {AUTHORS,CHANGES}.txt {CONTRIBUTING,README}.rst \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
-  # shell completions
-  export PYTHONPATH="${pkgdir}/usr/lib/python3.7/site-packages:${PYTHONPATH}"
-  "${pkgdir}/usr/bin/${pkgname}" tabcompletion \
-    --shell bash \
-    --hardcode-tasks \
-    > "${pkgname}_bash"
-  install -vDm 644 ${pkgname}_bash \
-    "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
-  "${pkgdir}/usr/bin/${pkgname}" tabcompletion \
-    --shell zsh \
-    --hardcode-tasks \
-    > "${pkgname}_zsh"
-  install -vDm 644 ${pkgname}_zsh \
-    "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
-}

Copied: nikola/repos/community-any/PKGBUILD (from rev 437543, nikola/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-04 16:44:05 UTC (rev 437544)
@@ -0,0 +1,80 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=Nikola
+pkgname=nikola
+pkgver=8.0.2
+pkgrel=1
+pkgdesc="A static site and blog generator"
+arch=('any')
+url="https://getnikola.com/"
+license=('MIT')
+depends=('python-babel' 'python-blinker' 'python-doit' 'python-dateutil'
+'python-docutils' 'python-logbook' 'python-lxml' 'python-mako'
+'python-markdown' 'python-natsort' 'python-piexif' 'python-pillow'
+'python-pygments' 'python-pyrss2gen' 'python-requests' 'python-setuptools'
+'python-unidecode' 'python-yapsy')
+makedepends=('python-aiohttp' 'python-ghp-import' 'python-husl'
+'python-ipykernel' 'python-jinja' 'python-micawber' 'jupyter-notebook'
+'python-phpserialize' 'python-pygal' 'python-pyphen' 'python-ruamel-yaml'
+'python-toml' 'python-typogrify' 'python-watchdog')
+checkdepends=('python-coverage' 'python-freezegun' 'python-pytest-cov')
+optdepends=('jupyter-notebook: .ipynb support'
+            'python-aiohttp: for `nikola auto`'
+            'python-ghp-import: for upload to Github pages'
+            'python-husl: optional color support'
+            'python-ipykernel: .ipynb support'
+            'python-jinja: jinja2 based themes'
+            'python-micawber: for embedding media in posts'
+            'python-phpserialize: for Wordpress import'
+            'python-pygal: for SVG graph plotting'
+            'python-pyphen: for hyphenation support'
+            'python-ruamel-yaml: for YAML support'
+            'python-toml: for TOML support'
+            'python-typogrify: for typographical enhancements'
+            'python-watchdog: for `nikola auto`')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('4c5f472ad51e1976e8d4188a45a4aabf428b92d50792175b1e8c71681e1f38b7bdcb3cdf5af1907210871baaeba647d5fc74f4ac5f9a22d24d44f610a64f0b53')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # removing upper limit for python-markdown (seemingly compatible to 3.0.1)
+  # https://github.com/getnikola/nikola/issues/3173
+  sed -e 's/,<3.0.0//' -i requirements.txt
+}
+
+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.txt \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 {AUTHORS,CHANGES}.txt {CONTRIBUTING,README}.rst \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+  # shell completions
+  export PYTHONPATH="${pkgdir}/usr/lib/python3.7/site-packages:${PYTHONPATH}"
+  "${pkgdir}/usr/bin/${pkgname}" tabcompletion \
+    --shell bash \
+    --hardcode-tasks \
+    > "${pkgname}_bash"
+  install -vDm 644 ${pkgname}_bash \
+    "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+  "${pkgdir}/usr/bin/${pkgname}" tabcompletion \
+    --shell zsh \
+    --hardcode-tasks \
+    > "${pkgname}_zsh"
+  install -vDm 644 ${pkgname}_zsh \
+    "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+}


More information about the arch-commits mailing list