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

David Runge dvzrv at archlinux.org
Thu Feb 13 17:10:32 UTC 2020


    Date: Thursday, February 13, 2020 @ 17:10:32
  Author: dvzrv
Revision: 570638

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-13 17:10:24 UTC (rev 570637)
+++ PKGBUILD	2020-02-13 17:10:32 UTC (rev 570638)
@@ -1,46 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-
-_name=etesync
-pkgname=python-etesync
-pkgver=0.9.2
-pkgrel=2
-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-dateutil' 'python-furl' 'python-idna'
-'python-orderedmultidict' 'python-packaging' 'python-peewee' 'python-py'
-'python-pyasn1' 'python-pycparser' 'python-pyparsing' 'python-requests'
-'python-scrypt' 'python-six' 'python-pytz' 'python-vobject')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('2379797d18427568a409dba505bbc8ee45e49b7a3d5de54fb6021ab9158196175019b1ee029de7cd34f097bdf71db3fc1e2909c4ff1c60f48d724eda9b1f16cb')
-
-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 -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm 644 {DESCRIPTION.rst,README.md}
-}
-

Copied: python-etesync/repos/community-any/PKGBUILD (from rev 570637, python-etesync/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-13 17:10:32 UTC (rev 570638)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=etesync
+pkgname=python-etesync
+pkgver=0.9.3
+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=('da2dcdb646f8c0ea9d4f53580e4aae395447cc2226f3b22f883138991b22b065fc92b2610eb9c465326da607470b2954a35dfb8fcb3a083d2915fea2c5c0754e')
+
+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}"
+}



More information about the arch-commits mailing list