[arch-commits] Commit in python-etesync/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Feb 27 09:07:35 UTC 2018
Date: Tuesday, February 27, 2018 @ 09:07:34
Author: dvzrv
Revision: 299047
archrelease: copy trunk to community-any
Added:
python-etesync/repos/community-any/PKGBUILD
(from rev 299046, python-etesync/trunk/PKGBUILD)
Deleted:
python-etesync/repos/community-any/PKGBUILD
----------+
PKGBUILD | 123 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 60 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-27 09:07:05 UTC (rev 299046)
+++ PKGBUILD 2018-02-27 09:07:34 UTC (rev 299047)
@@ -1,63 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-
-_name=etesync
-pkgname=python-etesync
-pkgver=0.5.1
-pkgrel=3
-pkgdesc="Python API to interact with an EteSync server."
-arch=('any')
-url="https://pypi.python.org/pypi/etesync/"
-license=('LGPL')
-depends=('python-appdirs'
- 'python-asn1crypto'
- 'python-cffi'
- 'python-coverage'
- 'python-cryptography'
- 'python-furl'
- 'python-idna'
- 'python-orderedmultidict'
- 'python-packaging'
- 'python-peewee'
- 'python-py'
- 'python-pyasn1'
- 'python-pycparser'
- 'python-pyparsing'
- 'python-dateutil'
- 'python-requests'
- 'python-scrypt'
- 'python-six'
- 'python-vobject')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://pypi.io/packages/source/e/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('927cbabe95249659a4e92e3a85d45be393a96a9656aefbcbebf92c75d50a6e3f5ffc0f4c92671c6b331aa66b9138a48a90d13183f7b070589cf83ef191a544ef')
-
-prepare() {
- mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
- python setup.py build
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- # only run relevant tests:
- # https://github.com/etesync/pyetesync/issues/5
- pytest tests/{test_collections.py,test_crypto.py}
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --root="${pkgdir}"
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm644 {DESCRIPTION.rst,README.md}
- # remove invalid tests folder
- # https://bugs.archlinux.org/task/57562
- rm -rv "${pkgdir}/usr/lib/python3.6/site-packages/tests"
-}
-
Copied: python-etesync/repos/community-any/PKGBUILD (from rev 299046, python-etesync/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-27 09:07:34 UTC (rev 299047)
@@ -0,0 +1,60 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+_name=etesync
+pkgname=python-etesync
+pkgver=0.5.2
+pkgrel=1
+pkgdesc="Python API to interact with an EteSync server."
+arch=('any')
+url="https://pypi.python.org/pypi/etesync/"
+license=('LGPL')
+depends=('python-appdirs'
+ 'python-asn1crypto'
+ 'python-cffi'
+ 'python-coverage'
+ 'python-cryptography'
+ 'python-furl'
+ 'python-idna'
+ 'python-orderedmultidict'
+ 'python-packaging'
+ 'python-peewee'
+ 'python-py'
+ 'python-pyasn1'
+ 'python-pycparser'
+ 'python-pyparsing'
+ 'python-dateutil'
+ 'python-requests'
+ 'python-scrypt'
+ 'python-six'
+ 'python-vobject')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://pypi.io/packages/source/e/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('3fd41cc422f4aad0fc40e06cb7fa25cbf61928343b4c8148d22a91f5cdd57d90efdce3c3522e7dc138cbe4db30197baa27524569a9736699070fe6882d8875f1')
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ # only run relevant tests:
+ # https://github.com/etesync/pyetesync/issues/5
+ pytest tests/{test_collections.py,test_crypto.py}
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ -vDm644 {DESCRIPTION.rst,README.md}
+}
+
More information about the arch-commits
mailing list