summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 20e763c03527c2147da453e562c66b796fe2ff81 (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
32
33
34
35
36
37
38
39
40
41
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>

pkgname='thank-you-stars'
pkgver=0.1.0
pkgrel=3
pkgdesc='CLI tool to star a PyPI package and its dependencies hosted on GitHub'
arch=('any')
url='https://github.com/thombashi/thank-you-stars'
_url_pypi='https://pypi.org/project/thank-you-stars'
license=('MIT')
depends=('python-appconfigpy'
        'python-colorama'
        'python-datetimerange'
        'python-logbook'
        'python-mbstrdecoder'
        'python-msgfy'
        'python-path'
        'python-pathvalidate'
        'python-pygithub'
        'python-pytablewriter'
        'python-retryrequests'
        'python-simplejson'
        'python-subprocrunner'
        'python-tqdm')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('c5b47fff6dfc82a1699ad4d4a5e0858a38da6abaa47901a69ee6952376df3b4c')

build() {
  cd "${pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${pkgname}-${pkgver}"
  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
  install -Dvm644 'README.rst' -t "${pkgdir}/usr/share/doc/${pkgname}"
  install -Dvm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${pkgname}"
}

# vim: ts=2 sw=2 et: