diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 21 insertions, 15 deletions
@@ -1,15 +1,15 @@ pkgbase = python-livereload - pkgdesc = An awesome tool for web developers. - pkgver = 2.6.3 + pkgdesc = livereload server in python + pkgver = 2.7.0 pkgrel = 1 url = https://github.com/lepture/python-livereload arch = any license = BSD makedepends = python-setuptools + depends = python depends = python-six depends = python-tornado - source = https://files.pythonhosted.org/packages/source/l/livereload/livereload-2.6.3.tar.gz - sha256sums = d1eddcb5c5eb8d2ca1fa1f750e580da624c0f7fcb734aa5780dc81b7dcbd89be + source = python-livereload-2.7.0.tar.gz::https://github.com/lepture/python-livereload/archive/2.7.0.tar.gz + sha512sums = 676f50b9300e1582177493cef24f4e2b10a4e385d0de780bf9161dee66e3063420338021464477c8079bffd0e4690a4b0d15c71025ebf1959addbaa6e69fa8bb pkgname = python-livereload - @@ -1,30 +1,36 @@ -# Maintainer: Hyacinthe Cartiaux < hyacinthe dot cartiaux at free dot fr > +# Maintainer: Fabrice Mouhartem (Chouhartem) <aur-packages at epheme dot re> +# Contributor: Filipe Laíns (FFY00) <lains at archlinux dot org> +# Contributor: Hyacinthe Cartiaux < hyacinthe dot cartiaux at free dot fr > # Contributor: Carl George < arch at cgtx dot us > # Contributor: valère monseur <valere dot monseur at ymail dot com> +# Cloned from: https://gitlab.archlinux.org/archlinux/packaging/packages/python-livereload/-/tree/main +# Notice of removal: https://lists.archlinux.org/archives/list/arch-dev-public@lists.archlinux.org/message/V2IQUDSTZQJRF6AWMGRHYRF37VZFRYX6/ +# Reason for putting it in AUR: dependency of `aur/kalamine-git` _name="livereload" _module="${_name}" pkgname="python-${_module}" -pkgver="2.6.3" -pkgrel="1" -pkgdesc="An awesome tool for web developers." +pkgver=2.7.0 +pkgrel=1 +pkgdesc="livereload server in python" arch=("any") url="https://github.com/lepture/python-livereload" license=("BSD") -depends=("python-six" "python-tornado") +depends=("python" "python-six" "python-tornado") makedepends=("python-setuptools") -source=("https://files.pythonhosted.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz") -sha256sums=('776f2f865e59fde56490a56bcc6773b6917366bce0c267c60ee8aaf1a0959869') +source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") +sha512sums=('676f50b9300e1582177493cef24f4e2b10a4e385d0de780bf9161dee66e3063420338021464477c8079bffd0e4690a4b0d15c71025ebf1959addbaa6e69fa8bb') build() { - cd "${srcdir}/${_name}-${pkgver}" - python setup.py build + cd "$pkgname-$pkgver" + python setup.py build } package() { - cd "${srcdir}/${_name}-${pkgver}" + cd "$pkgname-$pkgver" python setup.py install --skip-build --root="${pkgdir}" --optimize=1 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } +# vim:set ts=2 sw=2 et: |