[arch-commits] Commit in python-sarif-om/repos (community-any community-any/PKGBUILD)

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Sat Nov 6 15:26:45 UTC 2021


    Date: Saturday, November 6, 2021 @ 15:26:45
  Author: yan12125
Revision: 1037612

archrelease: copy trunk to community-any

Added:
  python-sarif-om/repos/community-any/
  python-sarif-om/repos/community-any/PKGBUILD
    (from rev 1037611, python-sarif-om/trunk/PKGBUILD)

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

Copied: python-sarif-om/repos/community-any/PKGBUILD (from rev 1037611, python-sarif-om/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-11-06 15:26:45 UTC (rev 1037612)
@@ -0,0 +1,25 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-sarif-om
+pkgver=1.0.4
+pkgrel=1
+pkgdesc='Python classes for the SARIF object model'
+arch=(any)
+url='https://github.com/microsoft/sarif-python-om'
+license=(MIT)
+depends=(python-attrs python-pbr)
+source=(https://github.com/microsoft/sarif-python-om/archive/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('f95e3ea13bb8df0b30b765a668a2ad65d7f33c8a16753147adec239ba0fcd6ca')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd sarif-python-om-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd sarif-python-om-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list