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

Felix Yan felixonmars at archlinux.org
Wed Nov 11 10:40:30 UTC 2020


    Date: Wednesday, November 11, 2020 @ 10:40:30
  Author: felixonmars
Revision: 750257

archrelease: copy trunk to community-staging-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 10:40:29 UTC (rev 750256)
+++ PKGBUILD	2020-11-11 10:40:30 UTC (rev 750257)
@@ -1,51 +0,0 @@
-# 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=2
-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}"
-}

Copied: python-atomicwrites/repos/community-staging-any/PKGBUILD (from rev 750255, python-atomicwrites/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 10:40:30 UTC (rev 750257)
@@ -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=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=('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