[arch-commits] Commit in python-astroid/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 21:42:19 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:42:19
  Author: foutrelis
Revision: 1058937

archrelease: copy trunk to community-staging-any

Added:
  python-astroid/repos/community-staging-any/
  python-astroid/repos/community-staging-any/PKGBUILD
    (from rev 1058935, python-astroid/trunk/PKGBUILD)

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Copied: python-astroid/repos/community-staging-any/PKGBUILD (from rev 1058935, python-astroid/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 21:42:19 UTC (rev 1058937)
@@ -0,0 +1,40 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+
+_pyname=astroid
+pkgname=python-$_pyname
+pkgver=2.9.0
+pkgrel=2
+pkgdesc='A common base representation of python source code'
+arch=(any)
+url="https://github.com/PyCQA/$_pyname"
+license=(LGPL)
+_pydeps=(lazy-object-proxy
+         typing-extensions
+         wrapt)
+depends=(python
+         "${_pydeps[@]/#/python-}")
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+replaces=(python-logilab-astng)
+conflicts=(python-logilab-astng)
+_archive="$_pyname-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('35ceb3584637c7ad7c0238024ec8d4a7693f868238e03d37ae77975fdb45b76d')
+
+build() {
+	cd "$_archive"
+	python setup.py build
+}
+
+check() {
+	cd "$_archive"
+	pytest
+}
+
+package() {
+	cd "$_archive"
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list