[arch-commits] Commit in python-schema/repos/community-staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 11 15:02:29 UTC 2020
Date: Wednesday, November 11, 2020 @ 15:02:29
Author: foutrelis
Revision: 750799
archrelease: copy trunk to community-staging-any
Added:
python-schema/repos/community-staging-any/PKGBUILD
(from rev 750798, python-schema/trunk/PKGBUILD)
Deleted:
python-schema/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 15:02:26 UTC (rev 750798)
+++ PKGBUILD 2020-11-11 15:02:29 UTC (rev 750799)
@@ -1,39 +0,0 @@
-# Maintainer: Florian Pritz <bluewind at xinu.at>
-
-_name=schema
-pkgname="python-$_name"
-pkgver=0.7.3
-pkgrel=2
-pkgdesc='Python module to validate and convert data structures.'
-arch=(any)
-url="https://github.com/keleshev/$_name"
-depends=(python python-contextlib2)
-makedepends=(python-setuptools)
-checkdepends=(python-mock python-pytest)
-license=(MIT)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha256sums=('4cf529318cfd1e844ecbe02f41f7e5aa027463e7403666a52746f31f04f47a5e')
-
-prepare() {
- cd "$srcdir/$_name-$pkgver"
- # accept arbitrary versions
- sed 's|==|>=|g' -i requirements.txt
-}
-
-build() {
- cd "$srcdir/$_name-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$srcdir/$_name-$pkgver"
- python setup.py test
-}
-
-package() {
- cd "$srcdir/$_name-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
- install -D -m644 LICENSE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-schema/repos/community-staging-any/PKGBUILD (from rev 750798, python-schema/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 15:02:29 UTC (rev 750799)
@@ -0,0 +1,39 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+_name=schema
+pkgname="python-$_name"
+pkgver=0.7.3
+pkgrel=3
+pkgdesc='Python module to validate and convert data structures.'
+arch=(any)
+url="https://github.com/keleshev/$_name"
+depends=(python python-contextlib2)
+makedepends=(python-setuptools)
+checkdepends=(python-mock python-pytest)
+license=(MIT)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('4cf529318cfd1e844ecbe02f41f7e5aa027463e7403666a52746f31f04f47a5e')
+
+prepare() {
+ cd "$srcdir/$_name-$pkgver"
+ # accept arbitrary versions
+ sed 's|==|>=|g' -i requirements.txt
+}
+
+build() {
+ cd "$srcdir/$_name-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir/$_name-$pkgver"
+ python setup.py test
+}
+
+package() {
+ cd "$srcdir/$_name-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ install -D -m644 LICENSE-MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list