[arch-commits] Commit in (4 files)
Chih-Hsuan Yen
yan12125 at gemini.archlinux.org
Sat Nov 6 15:21:24 UTC 2021
Date: Saturday, November 6, 2021 @ 15:21:23
Author: yan12125
Revision: 1037611
python-sarif-om: new package, dependency of upcoming python-cfn-lint
See: https://github.com/aws-cloudformation/cfn-lint/pull/2126
Added:
python-sarif-om/
python-sarif-om/repos/
python-sarif-om/trunk/
python-sarif-om/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Added: python-sarif-om/trunk/PKGBUILD
===================================================================
--- python-sarif-om/trunk/PKGBUILD (rev 0)
+++ python-sarif-om/trunk/PKGBUILD 2021-11-06 15:21:23 UTC (rev 1037611)
@@ -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