Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] pylint: update to 2.3.1
Date: Mon, 29 Jul 2019 17:10:51 +0200	[thread overview]
Message-ID: <20190729151051.bO_kqkKP5CXo7rVV5_lvKdlKwrJVlHfskwWvf7Mb9FY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13391@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

There is an updated pull request by PaperMountainStudio against master on the void-packages repository

https://github.com/PaperMountainStudio/void-packages pylint-2.3.1
https://github.com/void-linux/void-packages/pull/13391

[WIP] pylint: update to 2.3.1


A patch file from https://github.com/void-linux/void-packages/pull/13391.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pylint-2.3.1-13391.patch --]
[-- Type: text/x-diff, Size: 5983 bytes --]

From e288d54c79e1587b141ea9604f72c4b1b3cef186 Mon Sep 17 00:00:00 2001
From: Paper Mountain Studio <kodycze@gmail.com>
Date: Sun, 28 Jul 2019 13:51:09 +0200
Subject: [PATCH 1/2] python3-pylint: update to 2.3.1, separate from python2
 version

---
 srcpkgs/pylint/template         | 25 ---------------
 srcpkgs/python3-pylint          |  1 -
 srcpkgs/python3-pylint/template | 57 +++++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+), 26 deletions(-)
 delete mode 120000 srcpkgs/python3-pylint
 create mode 100644 srcpkgs/python3-pylint/template

diff --git a/srcpkgs/pylint/template b/srcpkgs/pylint/template
index 6119b9191c3..a8d1c661066 100644
--- a/srcpkgs/pylint/template
+++ b/srcpkgs/pylint/template
@@ -46,28 +46,3 @@ post_install() {
 	vsconf elisp/pylint.el
 	vsconf elisp/pylint-flymake.el
 }
-
-python3-pylint_package() {
-	alternatives="
-	 pylint:epylint:/usr/bin/epylint3
-	 pylint:pylint:/usr/bin/pylint3
-	 pylint:pyreverse:/usr/bin/pyreverse3
-	 pylint:symilar:/usr/bin/symilar3
-	 pylint:epylint.1:/usr/share/man/man1/epylint3.1
-	 pylint:pylint.1:/usr/share/man/man1/pylint3.1
-	 pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1
-	 pylint:symilar.1:/usr/share/man/man1/symilar3.1"
-	archs=noarch
-	pycompile_module="pylint"
-	depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/bin/*3
-		vmove usr/lib/python3*
-		vmove usr/share/man/man1/*3.1
-		vsconf examples/pylintrc
-		vsconf examples/pylintrc_camelcase
-		vsconf elisp/pylint.el
-		vsconf elisp/pylint-flymake.el
-	}
-}
diff --git a/srcpkgs/python3-pylint b/srcpkgs/python3-pylint
deleted file mode 120000
index 54b18e249c1..00000000000
--- a/srcpkgs/python3-pylint
+++ /dev/null
@@ -1 +0,0 @@
-pylint
\ No newline at end of file
diff --git a/srcpkgs/python3-pylint/template b/srcpkgs/python3-pylint/template
new file mode 100644
index 00000000000..2ad20b9e558
--- /dev/null
+++ b/srcpkgs/python3-pylint/template
@@ -0,0 +1,57 @@
+# Template file for 'pylint'
+pkgname=pylint
+version=2.3.1
+revision=1
+archs=noarch
+wrksrc="pylint-${version}"
+build_style=python3-module
+pycompile_module="pylint"
+hostmakedepends="python-setuptools python3-setuptools"
+depends="python3-setuptools python3-astroid python3-six python3-isort python3-mccabe"
+short_desc="Python3 code static checker"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="http://www.pylint.org/"
+distfiles="${PYPI_SITE}/p/pylint/pylint-${version}.tar.gz"
+checksum=723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1
+
+alternatives="
+ pylint:epylint:/usr/bin/epylint3
+ pylint:pylint:/usr/bin/pylint3
+ pylint:pyreverse:/usr/bin/pyreverse3
+ pylint:symilar:/usr/bin/symilar3
+ pylint:epylint.1:/usr/share/man/man1/epylint3.1
+ pylint:pylint.1:/usr/share/man/man1/pylint3.1
+ pylint:pyreverse.1:/usr/share/man/man1/pyreverse3.1
+ pylint:symilar.1:/usr/share/man/man1/symilar3.1"
+
+pre_build() {
+	sed -i '/setup_requires=/d' setup.py
+}
+
+pkg_install() {
+	vmove usr/bin/*3
+	vmove usr/lib/python3*
+	vmove usr/share/man/man1/*3.1
+	vsconf examples/pylintrc
+	vsconf examples/pylintrc_camelcase
+	vsconf elisp/pylint.el
+	vsconf elisp/pylint-flymake.el
+}
+
+post_install() {
+	# no tests
+	rm -rf ${DESTDIR}/usr/lib/python*/site-packages/pylint/test
+
+	# create versioned man pages
+	for f in epylint pylint pyreverse symilar; do
+		vman man/${f}.1 ${f}2.1
+		vman man/${f}.1 ${f}3.1
+	done
+
+	# install example config and emacs files
+	vsconf examples/pylintrc
+	vsconf examples/pylintrc_camelcase
+	vsconf elisp/pylint.el
+	vsconf elisp/pylint-flymake.el
+}

From c7f6d9e3fb12d0baf0cc0967cc42be31b2a1e68f Mon Sep 17 00:00:00 2001
From: Paper Mountain Studio <kodycze@gmail.com>
Date: Sun, 28 Jul 2019 13:52:22 +0200
Subject: [PATCH 2/2] python3-astroid: update to 2.2.5, separate from python2
 version

---
 srcpkgs/python-astroid/template  | 10 ----------
 srcpkgs/python3-astroid          |  1 -
 srcpkgs/python3-astroid/template | 24 ++++++++++++++++++++++++
 3 files changed, 24 insertions(+), 11 deletions(-)
 delete mode 120000 srcpkgs/python3-astroid
 create mode 100644 srcpkgs/python3-astroid/template

diff --git a/srcpkgs/python-astroid/template b/srcpkgs/python-astroid/template
index 62dd495c995..baba767bd45 100644
--- a/srcpkgs/python-astroid/template
+++ b/srcpkgs/python-astroid/template
@@ -20,13 +20,3 @@ post_install() {
 	# no tests
 	rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests
 }
-
-python3-astroid_package() {
-	archs=noarch
-	pycompile_module="astroid"
-	depends="python3-six python3-lazy-object-proxy python3-wrapt"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-	}
-}
diff --git a/srcpkgs/python3-astroid b/srcpkgs/python3-astroid
deleted file mode 120000
index 8ab3dd7a4e8..00000000000
--- a/srcpkgs/python3-astroid
+++ /dev/null
@@ -1 +0,0 @@
-python-astroid
\ No newline at end of file
diff --git a/srcpkgs/python3-astroid/template b/srcpkgs/python3-astroid/template
new file mode 100644
index 00000000000..bf7938b3080
--- /dev/null
+++ b/srcpkgs/python3-astroid/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-astroid'
+pkgname=python3-astroid
+version=2.2.5
+revision=1
+archs=noarch
+wrksrc="astroid-${version}"
+build_style=python3-module
+pycompile_module="astroid"
+hostmakedepends="python3-setuptools"
+depends="python3-six python3-lazy-object-proxy python3-wrapt python3-typed-ast"
+short_desc="Abstract syntax tree for Python3"
+maintainer="Alessio Sergi <al3hex@gmail.com>"
+license="GPL-2.0-or-later, LGPL-2.1-or-later"
+homepage="https://github.com/PyCQA/astroid"
+distfiles="${PYPI_SITE}/a/astroid/astroid-${version}.tar.gz"
+checksum=6560e1e1749f68c64a4b5dee4e091fce798d2f0d84ebe638cf0e0585a343acf4
+
+post_install() {
+	# no tests
+	rm -rf ${DESTDIR}/usr/lib/python*/site-packages/astroid/tests
+}
+pkg_install() {
+	vmove usr/lib/python3*
+}

  parent reply	other threads:[~2019-07-29 15:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-28 10:27 [PR PATCH] " voidlinux-github
2019-07-28 10:35 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-28 10:35 ` voidlinux-github
2019-07-28 11:11 ` [PR PATCH] [Updated] [WIP] " voidlinux-github
2019-07-28 11:11 ` voidlinux-github
2019-07-29 15:10 ` voidlinux-github [this message]
2019-07-29 15:10 ` voidlinux-github
2019-07-29 15:51 ` voidlinux-github
2019-07-29 15:51 ` voidlinux-github
2019-07-30 16:52 ` voidlinux-github
2019-07-30 16:52 ` voidlinux-github
2019-09-14 15:46 ` voidlinux-github
2019-09-26 16:33 ` [PR PATCH] [Closed]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190729151051.bO_kqkKP5CXo7rVV5_lvKdlKwrJVlHfskwWvf7Mb9FY@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).