[arch-commits] Commit in namcap/repos (3 files)

Jelle van der Waa jelle at gemini.archlinux.org
Tue Jun 21 08:58:12 UTC 2022


    Date: Tuesday, June 21, 2022 @ 08:58:12
  Author: jelle
Revision: 449168

archrelease: copy trunk to testing-any

Added:
  namcap/repos/testing-any/
  namcap/repos/testing-any/PKGBUILD
    (from rev 449167, namcap/trunk/PKGBUILD)
  namcap/repos/testing-any/missing-desktop-file-utils.patch
    (from rev 449167, namcap/trunk/missing-desktop-file-utils.patch)

----------------------------------+
 PKGBUILD                         |   39 +++++++++++++++++++++++++++++++++++++
 missing-desktop-file-utils.patch |   11 ++++++++++
 2 files changed, 50 insertions(+)

Copied: namcap/repos/testing-any/PKGBUILD (from rev 449167, namcap/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2022-06-21 08:58:12 UTC (rev 449168)
@@ -0,0 +1,39 @@
+# Maintainer : Rémy Oudompheng <remy at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=namcap
+pkgver=3.3.0
+pkgrel=1
+pkgdesc="A Pacman package analyzer"
+arch=('any')
+url='https://gitlab.archlinux.org/pacman/namcap'
+license=('GPL')
+depends=('python' 'pyalpm' 'licenses' 'binutils' 'elfutils' 'python-pyelftools')
+checkdepends=('systemd' 'python-pytest' 'python-six')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
+source=(https://gitlab.archlinux.org/pacman/namcap/-/archive/${pkgver}/namcap-${pkgver}.tar.bz2
+	missing-desktop-file-utils.patch)
+sha512sums=('2e7a12644b535307add7efa7909757470ee3bdb2bdb0171aa75acee9fe367cd0f368af06c4c61f1ddb5b3f6e628489a5a3a6a7d0659c70d6e16ef38c52a7f17e'
+            '74efb1939053f41129cd811cf84abef8ff84ca4673cb62c3115b9d56830a57a48fed021b9807a74299c4c4cf3ec1880733f91dd5d06f4b9ac294fc78a9b5498e')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -Np1 -i "${srcdir}/missing-desktop-file-utils.patch"
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  env PARSE_PKGBUILD_PATH="${srcdir}/${pkgname}-${pkgver}" \
+      PATH="${srcdir}/${pkgname}-${pkgver}/scripts:$PATH" \
+      pytest
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  python setup.py install --root="${pkgdir}"
+}

Copied: namcap/repos/testing-any/missing-desktop-file-utils.patch (from rev 449167, namcap/trunk/missing-desktop-file-utils.patch)
===================================================================
--- testing-any/missing-desktop-file-utils.patch	                        (rev 0)
+++ testing-any/missing-desktop-file-utils.patch	2022-06-21 08:58:12 UTC (rev 449168)
@@ -0,0 +1,11 @@
+diff -aur namcap-3.2.8/namcap-tags namcap-3.2.8.new/namcap-tags
+--- namcap-3.2.8/namcap-tags	2018-07-07 03:52:57.000000000 +0200
++++ namcap-3.2.8.new/namcap-tags	2018-08-04 17:43:17.776311307 +0200
+@@ -98,6 +98,7 @@
+ dconf-needed-for-glib-schemas :: needed for glib schemas
+ glib2-needed-for-gio-modules :: needed for GIO modules
+ hicolor-icon-theme-needed-for-hicolor-dir :: needed for hicolor theme hierarchy
++desktop-file-utils-needed :: needed for update-desktop-database
+ kdebase-runtime-needed %s :: needed for programs %s
+ java-runtime-needed %s :: found class files %s
+ libraries-needed %s %s :: libraries %s needed in files %s



More information about the arch-commits mailing list