Date: Thursday, April 6, 2023 @ 16:01:54
  Author: felixonmars
Revision: 1439495

archrelease: copy trunk to community-staging-any

Added:
  python-jsonlines/repos/community-staging-any/
  python-jsonlines/repos/community-staging-any/PKGBUILD
    (from rev 1439494, python-jsonlines/trunk/PKGBUILD)

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

Copied: python-jsonlines/repos/community-staging-any/PKGBUILD (from rev 
1439494, python-jsonlines/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 16:01:54 UTC (rev 1439495)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-jsonlines
+pkgver=3.1.0
+pkgrel=2
+pkgdesc="Library with helpers for the jsonlines file format"
+url="https://github.com/wbolster/jsonlines";
+license=('BSD')
+arch=('any')
+depends=('python-attrs')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://github.com/wbolster/jsonlines/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('f5fd35bbdc94106afbf8f837bcc3440348772f3b6011b2fb8d7cf86a8ec881c5350aebcd3ae85d45ec88b8deddc68c8e417eaf172f7777c009e42beb7f64ff61')
+
+build() {
+  cd jsonlines-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd jsonlines-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd jsonlines-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.rst -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to