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

David Runge dvzrv at archlinux.org
Tue Apr 28 22:10:47 UTC 2020


    Date: Tuesday, April 28, 2020 @ 22:10:46
  Author: dvzrv
Revision: 622138

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  103 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-28 22:10:38 UTC (rev 622137)
+++ PKGBUILD	2020-04-28 22:10:46 UTC (rev 622138)
@@ -1,52 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
-
-_name=atomicwrites
-pkgbase=python-atomicwrites
-pkgname=('python-atomicwrites' 'python2-atomicwrites')
-pkgver=1.3.0
-pkgrel=3
-pkgdesc="Atomic file writes on POSIX"
-arch=('any')
-url="https://github.com/untitaker/python-atomicwrites"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('9b619b622f4509c2a41ad340f91bd6e74f238cf9a35f4662fa70f1f957a78069cb89f9bf16f8da70a597bc43a0c6c4fdea6afd0d157364a53a2fa5d8f4272a61')
-
-build() {
-  cd "${_name}-${pkgver}"
-  python setup.py build
-  python2 setup.py build
-}
-
-check() {
-  cd "${_name}-${pkgver}"
-  export PYTHONPATH=build:${PYTHONPATH}
-  py.test
-  py.test2
-}
-
-package_python-atomicwrites() {
-  depends=('python')
-  cd "${_name}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-package_python2-atomicwrites() {
-  depends=('python2')
-  cd "${_name}-${pkgver}"
-  python2 setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-

Copied: python-atomicwrites/repos/community-any/PKGBUILD (from rev 622137, python-atomicwrites/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-28 22:10:46 UTC (rev 622138)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
+
+_name=atomicwrites
+pkgbase=python-atomicwrites
+pkgname=('python-atomicwrites' 'python2-atomicwrites')
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="Atomic file writes on POSIX"
+arch=('any')
+url="https://github.com/untitaker/python-atomicwrites"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('493fd15174880917650643db1fe85e2703add730189c23fcff11ceb87175f546b9251050ade506d0b48300e0f2a39ee5a4dcd4da8cb3e27680fd05553d6662cb')
+
+build() {
+  cd "${_name}-${pkgver}"
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd "${_name}-${pkgver}"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+  pytest2 -v
+}
+
+package_python-atomicwrites() {
+  depends=('python')
+  cd "${_name}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+package_python2-atomicwrites() {
+  depends=('python2')
+  cd "${_name}-${pkgver}"
+  python2 setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


More information about the arch-commits mailing list