[arch-commits] Commit in python-etesync/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Fri Dec 3 00:33:21 UTC 2021


    Date: Friday, December 3, 2021 @ 00:33:21
  Author: felixonmars
Revision: 1063854

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: python-etesync/repos/community-staging-any/PKGBUILD (from rev 1063851, python-etesync/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-03 00:33:21 UTC (rev 1063854)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=etesync
+pkgname=python-etesync
+pkgver=0.12.1
+pkgrel=3
+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')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('dcc57b84b1fd8e9be5b1bfb677e395b10bc63466a418639403c3aa4b6e04e33cbff44f0d0a2601b009ce336eb47a6dcdc3dd34f11ef539c387575da1f9f1e3db')
+b2sums=('60016c07320eea4db610d48f919454e8a41230a18a297430213c393bf1551f885e848effb34c79cdf646ec90bbddc08ffbbefa428973822558310f2321c475be')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  pytest -v
+}
+
+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