[arch-commits] Commit in nfoview/repos/community-any (4 files)

David Runge dvzrv at archlinux.org
Mon Aug 12 08:45:48 UTC 2019


    Date: Monday, August 12, 2019 @ 08:45:48
  Author: dvzrv
Revision: 498999

archrelease: copy trunk to community-any

Added:
  nfoview/repos/community-any/PKGBUILD
    (from rev 498998, nfoview/trunk/PKGBUILD)
  nfoview/repos/community-any/x-nfo.desktop
    (from rev 498998, nfoview/trunk/x-nfo.desktop)
Deleted:
  nfoview/repos/community-any/PKGBUILD
  nfoview/repos/community-any/x-nfo.desktop

---------------+
 PKGBUILD      |   89 +++++++++++++++++++++++++++++---------------------------
 x-nfo.desktop |   14 ++++----
 2 files changed, 54 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-12 08:45:39 UTC (rev 498998)
+++ PKGBUILD	2019-08-12 08:45:48 UTC (rev 498999)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Ray Rashif <schiv at archlinux.org>
-# Contributor: Wes Brewer <brewerw at gmail.com>
-# Contributor: VuDu <vudu.curse at gmail.com>
-
-pkgname=nfoview
-pkgver=1.26.1
-pkgrel=1
-pkgdesc="Simple NFO file viewer in GTK+ 3"
-arch=('any')
-url="https://otsaloma.io/nfoview/"
-license=('GPL3')
-depends=('gtk3' 'python-gobject')
-makedepends=('python-setuptools')
-optdepends=('terminus-font: recommended font')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/otsaloma/${pkgname}/archive/${pkgver}.tar.gz"
-        'x-nfo.desktop')
-sha512sums=('9c800f47880b6e9c014a683c567b790a8f06c6c6e516b2ec5ec58bb09b16413e525184239d4cb06bdd0067748cf15118acf9b77871aaac184076295c3edae7c4'
-            'a800af55df103ee12ce7a8815780e15896d7ad3eee947760ff4486ffb57fea8cf4105b5ffc61dc81e849ddf03eeac77f593a4ffe4fd73b5ea026672c72dff108')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py build
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}/"
-
-  # docs
-  install -vDm 644 {AUTHORS,NEWS,README,TODO}.md \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
-
-  install -vDm 644 "${srcdir}/x-nfo.desktop" \
-    "${pkgdir}/usr/share/mimelnk/text/x-nfo.desktop"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: nfoview/repos/community-any/PKGBUILD (from rev 498998, nfoview/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-12 08:45:48 UTC (rev 498999)
@@ -0,0 +1,47 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Wes Brewer <brewerw at gmail.com>
+# Contributor: VuDu <vudu.curse at gmail.com>
+
+pkgname=nfoview
+pkgver=1.27
+pkgrel=1
+pkgdesc="Simple NFO file viewer in GTK+ 3"
+arch=('any')
+url="https://otsaloma.io/nfoview/"
+license=('GPL3')
+depends=('gtk3' 'python-gobject')
+checkdepends=('python-pytest' 'xorg-server-xvfb')
+makedepends=('python-setuptools')
+optdepends=('terminus-font: recommended font')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/otsaloma/${pkgname}/archive/${pkgver}.tar.gz"
+        'x-nfo.desktop')
+sha512sums=('157257f9f289bdeac140054320ad43893c73995e11e6ccc91ebd2ca53878f00d45945c4e3ac3c11ec2f589a0349598f96dfecad3b0e3cfbe06e5a036bcedc3b5'
+            'a800af55df103ee12ce7a8815780e15896d7ad3eee947760ff4486ffb57fea8cf4105b5ffc61dc81e849ddf03eeac77f593a4ffe4fd73b5ea026672c72dff108')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  xvfb-run py.test -vvv "${pkgname}"
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+
+  python setup.py install --skip-build \
+                          --optimize=1 \
+                          --prefix=/usr \
+                          --root="${pkgdir}/"
+  # docs
+  install -vDm 644 {AUTHORS,NEWS,README,TODO}.md \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+
+  install -vDm 644 "${srcdir}/x-nfo.desktop" \
+    -t "${pkgdir}/usr/share/mimelnk/text/"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: x-nfo.desktop
===================================================================
--- x-nfo.desktop	2019-08-12 08:45:39 UTC (rev 498998)
+++ x-nfo.desktop	2019-08-12 08:45:48 UTC (rev 498999)
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Comment=NFO document
-DefaultApp=nfoview
-Type=MimeType
-MimeType=text/x-nfo
-Patterns=*.nfo;
-X-KDE-AutoEmbed=false
\ No newline at end of file

Copied: nfoview/repos/community-any/x-nfo.desktop (from rev 498998, nfoview/trunk/x-nfo.desktop)
===================================================================
--- x-nfo.desktop	                        (rev 0)
+++ x-nfo.desktop	2019-08-12 08:45:48 UTC (rev 498999)
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Comment=NFO document
+DefaultApp=nfoview
+Type=MimeType
+MimeType=text/x-nfo
+Patterns=*.nfo;
+X-KDE-AutoEmbed=false
\ No newline at end of file


More information about the arch-commits mailing list