[arch-commits] Commit in python-atomicwrites/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Aug 28 10:30:46 UTC 2018
Date: Tuesday, August 28, 2018 @ 10:30:45
Author: dvzrv
Revision: 374997
archrelease: copy trunk to community-any
Added:
python-atomicwrites/repos/community-any/PKGBUILD
(from rev 374996, python-atomicwrites/trunk/PKGBUILD)
Deleted:
python-atomicwrites/repos/community-any/PKGBUILD
----------+
PKGBUILD | 115 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 53 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-28 10:30:38 UTC (rev 374996)
+++ PKGBUILD 2018-08-28 10:30:45 UTC (rev 374997)
@@ -1,62 +0,0 @@
-# Maintainer: David Runge <eolianoe At GoogleMAIL DoT com>
-# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
-
-_name=python-atomicwrites
-pkgbase=python-atomicwrites
-pkgname=('python-atomicwrites' 'python2-atomicwrites')
-pkgver=1.1.5
-pkgrel=5
-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=(${pkgbase}-${pkgver}.tar.gz::"https://github.com/untitaker/${pkgbase}/archive/${pkgver}.tar.gz")
-sha512sums=('8fba7bf6270c2a5d2925c14c4620e3b391fe333617ee3ddee5d3559d39ad9cbdd61fafc715bb9c1802b35079c18ae1a8330c29c24a9c980886b4a73660d3941a')
-
-prepare() {
- cp -a "${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}"
- export PYTHONPATH=build:${PYTHONPATH}
- py.test
-
- cd ../"${pkgname[1]}-${pkgver}"
- export PYTHONPATH=build:${PYTHONPATH}
- py.test2
-}
-
-package_python-atomicwrites() {
- depends=('python')
- cd "${pkgname[0]}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -vDm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm644 {README,CONTRIBUTING}.rst
-}
-
-package_python2-atomicwrites() {
- depends=('python2')
- cd "${pkgname[1]}-${pkgver}"
- python2 setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -vDm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm644 {README,CONTRIBUTING}.rst
-}
-
Copied: python-atomicwrites/repos/community-any/PKGBUILD (from rev 374996, python-atomicwrites/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-28 10:30:45 UTC (rev 374997)
@@ -0,0 +1,53 @@
+# $Id$
+# 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.2.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=('9873ca2887b3f32564b29aeb29b56df061d9610ccef5ee6efe037e41b255317b420058ff0a2753271334215ce53c537821ef63612afa4a62cd9d5162cd2003c9')
+
+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}"
+}
+
More information about the arch-commits
mailing list