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

Felix Yan felixonmars at archlinux.org
Sat Mar 30 18:46:12 UTC 2019


    Date: Saturday, March 30, 2019 @ 18:46:12
  Author: felixonmars
Revision: 446374

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  106 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-30 18:45:48 UTC (rev 446373)
+++ PKGBUILD	2019-03-30 18:46:12 UTC (rev 446374)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-marshmallow
-pkgname=(python-marshmallow python2-marshmallow)
-pkgver=2.19.1
-pkgrel=1
-pkgdesc="A lightweight library for converting complex datatypes to and from native Python datatypes."
-url="https://github.com/marshmallow-code/marshmallow"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-simplejson'
-              'python2-simplejson' 'python-pytz' 'python2-pytz' 'python-dateutil'
-              'python2-dateutil')
-source=("https://pypi.io/packages/source/m/marshmallow/marshmallow-$pkgver.tar.gz")
-sha512sums=('3ace5ed338f66529e39613e1dcf402965896a8fb1dc60e99d7928f2d972f2fe8d183fd59c03db2afd73b47e89e25fc0018c8feaa6a280d7ebbcbc7ff7ba73f8c')
-
-prepare() {
-  cp -a marshmallow-$pkgver{,-py2}
-  rm -r marshmallow-$pkgver-py2/tests/test_py3
-}
-
-build() {
-  cd "$srcdir"/marshmallow-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/marshmallow-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/marshmallow-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/marshmallow-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-marshmallow() {
-  depends=('python')
-
-  cd marshmallow-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-marshmallow() {
-  depends=('python2')
-
-  cd marshmallow-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-marshmallow/repos/community-any/PKGBUILD (from rev 446373, python-marshmallow/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-30 18:46:12 UTC (rev 446374)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-marshmallow
+pkgname=(python-marshmallow python2-marshmallow)
+pkgver=2.19.2
+pkgrel=1
+pkgdesc="A lightweight library for converting complex datatypes to and from native Python datatypes."
+url="https://github.com/marshmallow-code/marshmallow"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-simplejson'
+              'python2-simplejson' 'python-pytz' 'python2-pytz' 'python-dateutil'
+              'python2-dateutil')
+source=("https://pypi.io/packages/source/m/marshmallow/marshmallow-$pkgver.tar.gz")
+sha512sums=('f239fbf93d6fdf8e509169879186b4ef21ae2d3440d8d20e1a3651f674fd8212d6a9b4646e39ca6be7c1bdefd1b235f601c969dd0cf61e3c67fc2109ed5e1e1a')
+
+prepare() {
+  cp -a marshmallow-$pkgver{,-py2}
+  rm -r marshmallow-$pkgver-py2/tests/test_py3
+}
+
+build() {
+  cd "$srcdir"/marshmallow-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/marshmallow-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/marshmallow-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/marshmallow-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-marshmallow() {
+  depends=('python')
+
+  cd marshmallow-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-marshmallow() {
+  depends=('python2')
+
+  cd marshmallow-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list