[arch-commits] Commit in python-pyls-spyder/repos/community-any (PKGBUILD PKGBUILD)
Bruno Pagani
archange at archlinux.org
Tue Mar 16 06:40:40 UTC 2021
Date: Tuesday, March 16, 2021 @ 06:40:40
Author: archange
Revision: 891738
archrelease: copy trunk to community-any
Added:
python-pyls-spyder/repos/community-any/PKGBUILD
(from rev 891737, python-pyls-spyder/trunk/PKGBUILD)
Deleted:
python-pyls-spyder/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-16 06:40:14 UTC (rev 891737)
+++ PKGBUILD 2021-03-16 06:40:40 UTC (rev 891738)
@@ -1,34 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=pyls-spyder
-pkgname=python-${_pkg}
-pkgver=0.3.0
-pkgrel=1
-pkgdesc="Spyder extensions for the Python Language Server"
-arch=(any)
-url="https://github.com/spyder-ide/pyls-spyder"
-license=(MIT)
-depends=(python-language-server)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest)
-# PyPi tarballs do not have the tests
-#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-source=(${url}/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('fe64f0f601c6a2fca1add29fc27405547ebc9b47e8dadaf8a40bcdf56e993d52')
-
-build() {
- cd ${_pkg}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_pkg}-${pkgver}
- pytest -v
-}
-
-package() {
- cd ${_pkg}-${pkgver}
- python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
- rm -r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/${_pkg//-/_}/tests
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
Copied: python-pyls-spyder/repos/community-any/PKGBUILD (from rev 891737, python-pyls-spyder/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-16 06:40:40 UTC (rev 891738)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=pyls-spyder
+pkgname=python-${_pkg}
+pkgver=0.3.2
+pkgrel=1
+pkgdesc="Spyder extensions for the Python Language Server"
+arch=(any)
+url="https://github.com/spyder-ide/pyls-spyder"
+license=(MIT)
+depends=(python-language-server)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+# PyPi tarballs do not have the tests
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(${url}/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('aa8156a980423c3df40ff18c4af3c9d2fdfaf9743314b20422135880d3b51a43')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ pytest -v
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+ rm -r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/${_pkg//-/_}/tests
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
More information about the arch-commits
mailing list