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

Felix Yan felixonmars at archlinux.org
Sun Jun 23 03:00:25 UTC 2019


    Date: Sunday, June 23, 2019 @ 03:00:25
  Author: felixonmars
Revision: 482849

archrelease: copy trunk to community-any

Added:
  python-warlock/repos/community-any/PKGBUILD
    (from rev 482847, python-warlock/trunk/PKGBUILD)
Deleted:
  python-warlock/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   79 ++++++++++++++++++++++---------------------------------------
 1 file changed, 29 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-23 03:00:24 UTC (rev 482848)
+++ PKGBUILD	2019-06-23 03:00:25 UTC (rev 482849)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-warlock
-pkgname=('python-warlock' 'python2-warlock')
-pkgver=1.3.0
-pkgrel=3
-pkgdesc="Python object model built on JSON schema and JSON patch."
-arch=('any')
-license=('Apache')
-url="https://github.com/bcwaldon/warlock"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-jsonschema' 'python2-jsonschema'
-             'python-jsonpatch' 'python2-jsonpatch' 'python-six' 'python2-six' 'git')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("git+https://github.com/bcwaldon/warlock.git#tag=v$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a warlock{,-py2}
-}
-
-build() {
-  cd "$srcdir"/warlock
-  python setup.py build
-
-  cd "$srcdir"/warlock-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/warlock
-  python setup.py pytest
-
-  cd "$srcdir"/warlock-py2
-  python2 setup.py pytest
-}
-
-package_python-warlock() {
-  depends=('python-jsonschema' 'python-jsonpatch' 'python-six')
-
-  cd warlock
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-warlock() {
-  depends=('python2-jsonschema' 'python2-jsonpatch' 'python2-six')
-
-  cd warlock-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-warlock/repos/community-any/PKGBUILD (from rev 482847, python-warlock/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-23 03:00:25 UTC (rev 482849)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-warlock
+pkgver=1.3.3
+pkgrel=1
+pkgdesc="Python object model built on JSON schema and JSON patch."
+arch=('any')
+license=('Apache')
+url="https://github.com/bcwaldon/warlock"
+depends=('python-jsonschema' 'python-jsonpatch' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-cov')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/bcwaldon/warlock/archive/$pkgver.tar.gz")
+sha512sums=('8a9135a17ccc0d0939ad98eee16100ec68b911d672b3af549f7629edcd6e08129f9e4ab707082593274fc896bc405ab6d6ba9e4bf6fc40b8522ec99327c983ec')
+
+build() {
+  cd warlock-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd warlock-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd warlock-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list