diff options
author | Jack Rubacha | 2021-06-27 21:49:04 -0400 |
---|---|---|
committer | Jack Rubacha | 2021-06-27 21:49:04 -0400 |
commit | 683e2eeb2b1ca2f6f6086d550a85fb5348f6ccca (patch) | |
tree | 99a4efceebcb69a4e0245f0483801d74dbe53ba9 | |
parent | 45f005f717293c2674397479075ecacdd712618a (diff) | |
download | aur-683e2eeb2b1ca2f6f6086d550a85fb5348f6ccca.tar.gz |
Changed upstream url to new github username, fix breaking lack of setup.py by converting the toml using dephill
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 19 insertions, 15 deletions
@@ -1,19 +1,19 @@ pkgbase = nextinspace-git pkgdesc = Print upcoming space-related events to your terminal - pkgver = 1.0.6.r2.g1763952 - pkgrel = 2 - url = https://github.com/The-Kid-Gid/nextinspace + pkgver = 2.0.3.r0.g846056c + pkgrel = 1 + url = https://github.com/not-stirred/nextinspace arch = any license = GPL3 makedepends = git makedepends = python-setuptools - depends = python-colorama - depends = python-requests + makedepends = python-dephell + depends = python-colorama>=0.4.3 + depends = python-requests>=2.24 depends = python-tzlocal provides = nextinspace conflicts = nextinspace - source = nextinspace::git+https://github.com/The-Kid-Gid/nextinspace.git + source = nextinspace::git+https://github.com/not-stirred/nextinspace.git sha256sums = SKIP pkgname = nextinspace-git - @@ -1,16 +1,17 @@ -# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz> +# Maintainer: Jack Rubacha <rubacha.jack03@gmail.com> +# Contributor: Caltlgin Stsodaat <contact@fossdaily.xyz> _pkgname='nextinspace' pkgname="${_pkgname}-git" -pkgver=1.0.6.r2.g1763952 -pkgrel=2 +pkgver=2.0.3.r0.g846056c +pkgrel=1 pkgdesc='Print upcoming space-related events to your terminal' arch=('any') -url='https://github.com/The-Kid-Gid/nextinspace' +url='https://github.com/not-stirred/nextinspace' _url_pypi='https://pypi.org/project/nextinspace' license=('GPL3') -depends=('python-colorama' 'python-requests' 'python-tzlocal') -makedepends=('git' 'python-setuptools') +depends=('python-colorama>=0.4.3' 'python-requests>=2.24' 'python-tzlocal') +makedepends=('git' 'python-setuptools' 'python-dephell') provides=("${_pkgname}") conflicts=("${_pkgname}") source=("${_pkgname}::git+${url}.git") @@ -20,6 +21,11 @@ pkgver() { git -C "${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } +prepare() { + cd "${_pkgname}" + dephell deps convert --from pyproject.toml --to setup.py +} + build() { cd "${_pkgname}" python setup.py build @@ -30,5 +36,3 @@ package() { python setup.py install --root="${pkgdir}" --optimize=1 --skip-build install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${_pkgname}" } - -# vim: ts=2 sw=2 et: |