blob: 8684db4528d327ebbcfdea1f668f349a9817c256 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Radim Sückr <contact@radimsuckr.cz>
pkgname=python-togglpy
_pypiname=TogglPy
pkgver=0.1.1
pkgrel=1
pkgdesc='TogglPy is a non-cluttered, easily understood and implemented python library for interacting with the Toggl API.'
arch=('any')
url='https://github.com/matthewdowney/TogglPy'
license=('MIT')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pypiname::1}/${_pypiname}/${_pypiname}-${pkgver}.tar.gz")
md5sums=('716bcb71cced0172285dae226f91c6e0')
sha256sums=('fda2b4d2508a95f5ec3e86128af8ba0006686b69423824bc4967445776f69811')
prepare() {
cd "${_pypiname}-${pkgver}"
python setup.py build
}
package() {
cd "${_pypiname}-${pkgver}"
python setup.py install \
--optimize=1 \
--prefix=/usr \
--root=${pkgdir} \
--skip-build
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
|