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

David Runge dvzrv at archlinux.org
Thu Apr 2 13:19:37 UTC 2020


    Date: Thursday, April 2, 2020 @ 13:19:36
  Author: dvzrv
Revision: 609570

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-02 13:19:10 UTC (rev 609569)
+++ PKGBUILD	2020-04-02 13:19:36 UTC (rev 609570)
@@ -1,45 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=etesync
-pkgname=python-etesync
-pkgver=0.11.1
-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-cryptography' 'python-dateutil' 'python-furl' 'python-idna'
-'python-orderedmultidict' 'python-packaging' 'python-peewee' 'python-py'
-'python-pyasn1' 'python-pycparser' 'python-pyparsing' 'python-pytz'
-'python-requests' 'python-scrypt' 'python-six' 'python-vobject')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-coverage')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('f3850b98451dcc8844ec5aadfac45542d9269041e66eb549e3b33531869da35315013c95128478f5dde07b8a86d0f2d5939489f70e81bf700f46805e5405e390')
-
-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 -vvv tests/{test_collections.py,test_crypto.py}
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 README.md \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-etesync/repos/community-any/PKGBUILD (from rev 609569, python-etesync/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-02 13:19:36 UTC (rev 609570)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=etesync
+pkgname=python-etesync
+pkgver=0.11.1
+pkgrel=2
+pkgdesc="Python API to interact with an EteSync server"
+arch=('any')
+url="https://github.com/etesync/pyetesync"
+license=('LGPL3')
+depends=('python-appdirs' 'python-asn1crypto' 'python-cffi'
+'python-cryptography' 'python-dateutil' 'python-furl' 'python-idna'
+'python-orderedmultidict' 'python-packaging' 'python-peewee' 'python-py'
+'python-pyasn1' 'python-pycparser' 'python-pyparsing' 'python-pytz'
+'python-requests' 'python-six' 'python-vobject')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-coverage')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('f3850b98451dcc8844ec5aadfac45542d9269041e66eb549e3b33531869da35315013c95128478f5dde07b8a86d0f2d5939489f70e81bf700f46805e5405e390')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  # soon tests can be run without specifying test files:
+  # https://github.com/etesync/pyetesync/issues/19
+  pytest -v tests/{test_collections.py,test_crypto.py}
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 README.md \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list