Date: Sunday, April 9, 2023 @ 13:25:56
  Author: felixonmars
Revision: 1443238

archrelease: copy trunk to community-staging-any

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

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

Copied: python-deepdiff/repos/community-staging-any/PKGBUILD (from rev 1443237, 
python-deepdiff/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-09 13:25:56 UTC (rev 1443238)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-deepdiff
+pkgver=6.0.0
+pkgrel=2
+pkgdesc="Deep Difference and Search of any Python object/data."
+url="https://github.com/seperman/deepdiff";
+license=('MIT')
+arch=('any')
+depends=('python-ordered-set')
+optdepends=('python-click: for cli'
+            'python-yaml: for cli'
+            'python-toml: for cli'
+            'python-clevercsv: for cli')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-clevercsv' 'python-click' 
'python-jsonpickle' 'python-numpy'
+              'python-toml' 'python-yaml')
+source=("https://github.com/seperman/deepdiff/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('7a17db64aaf69662f0da09d9bb5f93fe122971d45fdc25bae06ca6ec6b6be3b7df7ef705a0e3ced9aeb2fdf40328afba8b4b6cb55ddbcdba31cf39905bfcc8b7')
+
+build() {
+  cd deepdiff-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd deepdiff-$pkgver
+  pytest tests
+}
+
+package() {
+  cd deepdiff-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to