[arch-commits] Commit in python-jsonlines/repos (2 files)

Felix Yan felixonmars at archlinux.org
Wed Jun 9 18:29:18 UTC 2021


    Date: Wednesday, June 9, 2021 @ 18:29:18
  Author: felixonmars
Revision: 960333

archrelease: copy trunk to community-testing-any

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

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

Copied: python-jsonlines/repos/community-testing-any/PKGBUILD (from rev 960332, python-jsonlines/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-06-09 18:29:18 UTC (rev 960333)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jsonlines
+pkgver=2.0.0
+pkgrel=1
+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=('24a86ca3ff100eb16ba573130ce8f0d933dbf4686c73f1251178195265ef8d11f0786cda13635bf5828a36c80903a77fed37147f3ffb81353769112971bf5952')
+
+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/
+}



More information about the arch-commits mailing list