Date: Sunday, February 18, 2018 @ 15:51:05 Author: dvzrv Revision: 296233
archrelease: copy trunk to community-any Added: python-etesync/repos/community-any/PKGBUILD (from rev 296232, python-etesync/trunk/PKGBUILD) Deleted: python-etesync/repos/community-any/PKGBUILD ----------+ PKGBUILD | 123 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 63 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-02-18 15:50:53 UTC (rev 296232) +++ PKGBUILD 2018-02-18 15:51:05 UTC (rev 296233) @@ -1,60 +0,0 @@ -# Maintainer: David Runge <eolianoe At GoogleMAIL DoT com> - -_name=etesync -pkgname=python-etesync -pkgver=0.5.1 -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-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} -} - Copied: python-etesync/repos/community-any/PKGBUILD (from rev 296232, python-etesync/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-02-18 15:51:05 UTC (rev 296233) @@ -0,0 +1,63 @@ +# Maintainer: David Runge <d...@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" +} +