Date: Wednesday, July 3, 2019 @ 21:33:21 Author: dvzrv Revision: 487397
archrelease: copy trunk to community-any Added: python-etesync/repos/community-any/PKGBUILD (from rev 487392, python-etesync/trunk/PKGBUILD) Deleted: python-etesync/repos/community-any/PKGBUILD ----------+ PKGBUILD | 92 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-07-03 21:33:20 UTC (rev 487396) +++ PKGBUILD 2019-07-03 21:33:21 UTC (rev 487397) @@ -1,46 +0,0 @@ -# Maintainer: David Runge <d...@sleepmap.de> - -_name=etesync -pkgname=python-etesync -pkgver=0.8.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-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://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") -sha512sums=('7e467aa9981a50fb246c81d703cc48e9fdf2bbecdc7b9d9432cc7bde9fbf88ac21b7967b6cd6f981dee4f6147cbed028bd62fd54fe77aadf9ff30c84bbe6c82f') - -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}" \ - -vDm 644 {DESCRIPTION.rst,README.md} -} - Copied: python-etesync/repos/community-any/PKGBUILD (from rev 487392, python-etesync/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-07-03 21:33:21 UTC (rev 487397) @@ -0,0 +1,46 @@ +# Maintainer: David Runge <d...@sleepmap.de> + +_name=etesync +pkgname=python-etesync +pkgver=0.8.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-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://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha512sums=('6132a63352bb40d34e48bdd2cfb146e165c852820b7556289e9b4176cfa44195493e9221997c4df5aaa530fbe6c4544046981de9504e9d2a4794a4584eba71ea') + +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}" \ + -vDm 644 {DESCRIPTION.rst,README.md} +} +