[arch-commits] Commit in python-orderedmultidict/repos/community-any (2 files)

David Runge dvzrv at archlinux.org
Thu Jul 11 09:54:39 UTC 2019


    Date: Thursday, July 11, 2019 @ 09:54:39
  Author: dvzrv
Revision: 488718

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  112 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 54 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-11 09:54:33 UTC (rev 488717)
+++ PKGBUILD	2019-07-11 09:54:39 UTC (rev 488718)
@@ -1,58 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Husam Bilal <husam212 AT gmail DOT com>
-
-_name=orderedmultidict
-pkgbase=python-orderedmultidict
-pkgname=('python-orderedmultidict' 'python2-orderedmultidict')
-pkgver=1.0
-pkgrel=2
-pkgdesc="Ordered multivalue dictionary that retains method parity with dict."
-url="https://github.com/gruns/orderedmultidict"
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pycodestyle' 'python2-pycodestyle')
-license=('custom')
-arch=('any')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('7f731bde1f9cdd3e0490d3f590f2bfefa21935155d309d7460e45e11a640272de15a192200cb5110cf45876b7d6f0b6c7eac635fd122f6225b25aca90a4d6d36')
-
-prepare() {
-  mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}"
-  cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}"
-}
-
-build() {
-  cd "${pkgname[0]}-${pkgver}"
-  python setup.py build
-  cd ../"${pkgname[1]}-${pkgver}"
-  python2 setup.py build
-}
-
-check() {
-  cd "${pkgname[0]}-${pkgver}"
-  python setup.py test
-
-  cd ../"${pkgname[1]}-${pkgver}"
-  python2 setup.py test
-}
-
-package_python-orderedmultidict() {
-  depends=('python-six')
-  cd "${pkgname}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" -vDm 644 {API,README}.md
-}
-
-package_python2-orderedmultidict() {
-  depends=('python2-six')
-  cd "${pkgname}-${pkgver}"
-  python2 setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" -vDm 644 {API,README}.md
-}

Copied: python-orderedmultidict/repos/community-any/PKGBUILD (from rev 488717, python-orderedmultidict/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-11 09:54:39 UTC (rev 488718)
@@ -0,0 +1,54 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Husam Bilal <husam212 AT gmail DOT com>
+
+_name=orderedmultidict
+pkgbase=python-orderedmultidict
+pkgname=('python-orderedmultidict' 'python2-orderedmultidict')
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="Ordered multivalue dictionary that retains method parity with dict."
+url="https://github.com/gruns/orderedmultidict"
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pycodestyle' 'python2-pycodestyle')
+license=('custom')
+arch=('any')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('5a826bb46dfe9d7e6e2159bf545612a35dd0f1bb5817c1fd78e0f3f4019f9144b36be94af08f87e881a310f593091df09702d001624c377f559a30f64b219c24')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgbase}-${pkgver}"
+}
+
+build() {
+  cd "${pkgbase}-${pkgver}"
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd "${pkgbase}-${pkgver}"
+  python setup.py test
+  python2 setup.py test
+}
+
+package_python-orderedmultidict() {
+  depends=('python-six')
+  cd "${pkgbase}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 {API,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+package_python2-orderedmultidict() {
+  depends=('python2-six')
+  cd "${pkgbase}-${pkgver}"
+  python2 setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 {API,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


More information about the arch-commits mailing list