public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/editorconfig-core-py/
@ 2017-02-28 19:07 Patrick McLean
  0 siblings, 0 replies; 10+ messages in thread
From: Patrick McLean @ 2017-02-28 19:07 UTC (permalink / raw
  To: gentoo-commits

commit:     eb92830e34486e962d071adbb3962352df2fbdbd
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 28 19:07:16 2017 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 19:07:16 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb92830e

dev-python/editorconfig-core-py: Add python3_6

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
index be727fdaa4..a966ea7573 100644
--- a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
+++ b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=6
 
 TESTVER="abb579e00f2deeede91cb485e53512efab9c6474"
-PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
 inherit distutils-r1
 
 DESCRIPTION="Clone of EditorConfig core written in Python"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/editorconfig-core-py/
@ 2018-06-23 21:48 Aaron Bauman
  0 siblings, 0 replies; 10+ messages in thread
From: Aaron Bauman @ 2018-06-23 21:48 UTC (permalink / raw
  To: gentoo-commits

commit:     f7935c917d25ec9aac32ddd356eca9f57b461ceb
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Jun 23 19:04:19 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Sat Jun 23 21:47:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7935c91

dev-python/editorconfig-core-py: use HTTPs

Closes: https://github.com/gentoo/gentoo/pull/8949

 dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
index 2099e048d67..5ab67d6e6f4 100644
--- a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
+++ b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
 inherit distutils-r1
 
 DESCRIPTION="Clone of EditorConfig core written in Python"
-HOMEPAGE="http://editorconfig.org/"
+HOMEPAGE="https://editorconfig.org/"
 SRC_URI="https://github.com/${PN%-core-py}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 	test? (
 		https://github.com/${PN%-core-py}/${PN%-core-py}-core-test/archive/${TESTVER}.tar.gz -> ${PN%-core-py}-core-test-${TESTVER}.tar.gz


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/editorconfig-core-py/
@ 2020-02-05 13:00 Michał Górny
  0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2020-02-05 13:00 UTC (permalink / raw
  To: gentoo-commits

commit:     dded7fdbd751c026708b8ffc797755093e381752
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  5 12:39:17 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb  5 12:59:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dded7fdb

dev-python/editorconfig-core-py: Remove py2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
index 98a568d05ad..97128a01305 100644
--- a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
+++ b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 TESTVER="abb579e00f2deeede91cb485e53512efab9c6474"
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
 inherit distutils-r1
 
 DESCRIPTION="Clone of EditorConfig core written in Python"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/editorconfig-core-py/
@ 2020-04-22  5:59 Michał Górny
  0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2020-04-22  5:59 UTC (permalink / raw
  To: gentoo-commits

commit:     9ab6de53299e59cb73c458f7c7cd82392d92b682
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 22 05:22:42 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 22 05:59:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab6de53

dev-python/editorconfig-core-py: Enable py3.{7,8}

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
index 97128a01305..c9cfa0e96b4 100644
--- a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
+++ b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=6
 
 TESTVER="abb579e00f2deeede91cb485e53512efab9c6474"
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
 inherit distutils-r1
 
 DESCRIPTION="Clone of EditorConfig core written in Python"
@@ -43,11 +43,8 @@ python_install() {
 	#use cli || rm -f "${D}/${EPREFIX}"/usr/bin
 }
 
-src_test() {
-	__src_test_run_python_impl() {
-		cmake -DPYTHON_EXECUTABLE="${PYTHON}" . || die "tests failed to build with ${EPYTHON}"
-		ctest . || die "tests failed with ${EPYTHON}"
-	}
-	python_foreach_impl __src_test_run_python_impl
-	unset __src_test_run_python_impl
+python_test() {
+	cmake -DPYTHON_EXECUTABLE="${PYTHON}" . ||
+		die "tests failed to build with ${EPYTHON}"
+	ctest . || die "tests failed with ${EPYTHON}"
 }


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/editorconfig-core-py/
@ 2020-12-23  8:29 Michał Górny
  0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2020-12-23  8:29 UTC (permalink / raw
  To: gentoo-commits

commit:     05f8d7b152e3077d0809de43e1b050ac00994a99
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 23 08:14:02 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 08:28:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f8d7b1

dev-python/editorconfig-core-py: Bump to 0.12.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/editorconfig-core-py/Manifest           |  1 +
 .../editorconfig-core-py-0.12.3.ebuild             | 43 ++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/editorconfig-core-py/Manifest b/dev-python/editorconfig-core-py/Manifest
index 2b84215896e..5034dc7bbd9 100644
--- a/dev-python/editorconfig-core-py/Manifest
+++ b/dev-python/editorconfig-core-py/Manifest
@@ -1,2 +1,3 @@
 DIST editorconfig-core-py-0.12.0.tar.gz 24801 BLAKE2B 10901b1595965139dbc3aa3227f335c2128b2ea83204ed88b0e799021f7c215fd13c3e2246cb9197ecb7c918aca2d6e9269d94298aa0665432ab091630a29dd6 SHA512 29c5f58bd7293052e4b1fbfbadcf4a148eb939558494d599bafd46151a4fb5af9cd07dcef477db9a709a0ea63dec0dd7e9d4071779f8ca6e3bd137268cc22f72
+DIST editorconfig-core-py-0.12.3.tar.gz 19261 BLAKE2B 58cac122cfee19527bc45def7e923da50982de0e2cd443cf67dd824c050fb12352b85a5679815a701bc5b8d88a089a0a98280c364730086d01b80f119ad996a4 SHA512 005d0698c410c8865d177a1e891b5c51b15255f36303b116fddbbbc08e309d1d60ca3003d27e6fd8455e53c5956db0c29e298f22f4b10950e1f7c56c7c6e0ab3
 DIST editorconfig-core-test-abb579e00f2deeede91cb485e53512efab9c6474.tar.gz 7900 BLAKE2B 9ebdb5e522948bc9e86ea84435ccaa11585a8a12f4cd6fe54c64d78917281c913568351767d8077623b1196d84206d1c2d0126a0510f70df484c1b55d829028b SHA512 ae5424b4926d6cb127cb3da473400ced4f7ccf224f7baa8bc5bde0317cc045bb7b99738a56efe5fd0e5a0fbe39b997b9fb1739d24713e7f83b58e987c5e56a32

diff --git a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3.ebuild b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3.ebuild
new file mode 100644
index 00000000000..1c0da663b09
--- /dev/null
+++ b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6..9} )
+inherit cmake distutils-r1
+
+TESTVER="abb579e00f2deeede91cb485e53512efab9c6474"
+DESCRIPTION="Clone of EditorConfig core written in Python"
+HOMEPAGE="https://editorconfig.org/"
+SRC_URI="https://github.com/${PN%-core-py}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	test? (
+		https://github.com/${PN%-core-py}/${PN%-core-py}-core-test/archive/${TESTVER}.tar.gz -> ${PN%-core-py}-core-test-${TESTVER}.tar.gz
+	)"
+
+LICENSE="PYTHON BSD-4"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="!<app-vim/editorconfig-vim-0.3.3-r1"
+
+src_prepare() {
+	if use test; then
+		mv "${WORKDIR}"/${PN%-core-py}-core-test-${TESTVER}/* "${S}"/tests || die
+	fi
+
+	cmake_src_prepare
+	distutils-r1_src_prepare
+}
+
+python_test() {
+	local mycmakeargs=(
+		-DPYTHON_EXECUTABLE="${PYTHON}"
+	)
+
+	cmake_src_configure
+	cmake_src_compile
+	cmake_src_test
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/editorconfig-core-py/
@ 2020-12-23  8:29 Michał Górny
  0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2020-12-23  8:29 UTC (permalink / raw
  To: gentoo-commits

commit:     8882458ecd90cb7790dbd002d632baa87f7f0ad3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 23 08:19:38 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 08:28:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8882458e

dev-python/editorconfig-core-py: Add python@ as co-maint

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/editorconfig-core-py/metadata.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-python/editorconfig-core-py/metadata.xml b/dev-python/editorconfig-core-py/metadata.xml
index 3a66b57dd84..a2c10b6a3d7 100644
--- a/dev-python/editorconfig-core-py/metadata.xml
+++ b/dev-python/editorconfig-core-py/metadata.xml
@@ -5,6 +5,10 @@
 		<email>chutzpah@gentoo.org</email>
 		<name>Patrick McLean</name>
 	</maintainer>
+	<maintainer type="project">
+		<email>python@gentoo.org</email>
+		<name>Python</name>
+	</maintainer>
 	<use>
 		<flag name="cli">Install command line interface as well as python library</flag>
 	</use>


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/editorconfig-core-py/
@ 2020-12-23  9:31 Michał Górny
  0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2020-12-23  9:31 UTC (permalink / raw
  To: gentoo-commits

commit:     b37ff50bd59c5c68c3d46adfc10866a96e5e7b59
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 23 09:27:31 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 23 09:27:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b37ff50b

dev-python/editorconfig-core-py: Restore USE=cli

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...ore-py-0.12.3.ebuild => editorconfig-core-py-0.12.3-r1.ebuild} | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3.ebuild b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild
similarity index 83%
rename from dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3.ebuild
rename to dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild
index 1c0da663b09..7bae9392d2c 100644
--- a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3.ebuild
+++ b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild
@@ -18,15 +18,19 @@ SRC_URI="https://github.com/${PN%-core-py}/${PN}/archive/v${PV}.tar.gz -> ${P}.t
 LICENSE="PYTHON BSD-4"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
+IUSE="cli test"
 RESTRICT="!test? ( test )"
 
-RDEPEND="!<app-vim/editorconfig-vim-0.3.3-r1"
+RDEPEND="!<app-vim/editorconfig-vim-0.3.3-r1
+	cli? ( !app-text/editorconfig-core-c[cli] )"
 
 src_prepare() {
 	if use test; then
 		mv "${WORKDIR}"/${PN%-core-py}-core-test-${TESTVER}/* "${S}"/tests || die
 	fi
+	if ! use cli; then
+		sed -i -e '/editorconfig\.__main__/d' setup.py || die
+	fi
 
 	cmake_src_prepare
 	distutils-r1_src_prepare


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/editorconfig-core-py/
@ 2021-06-05 13:34 Michał Górny
  0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2021-06-05 13:34 UTC (permalink / raw
  To: gentoo-commits

commit:     e9941b616cc680094ac1aa14d04f8a460f2cde26
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  5 13:31:15 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun  5 13:34:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9941b61

dev-python/editorconfig-core-py: Enable py3.10

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild       | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild
index f2519a9bee8..33ce2edc030 100644
--- a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild
+++ b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 inherit cmake distutils-r1
 
 TESTVER="abb579e00f2deeede91cb485e53512efab9c6474"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/editorconfig-core-py/
@ 2022-08-10 13:05 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2022-08-10 13:05 UTC (permalink / raw
  To: gentoo-commits

commit:     36826afdb67a24f0ab252b109fa0f785c86f3963
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 12:38:00 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 10 13:00:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36826afd

dev-python/editorconfig-core-py: enable py3.11

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild
index 33ce2edc0308..94256dc40013 100644
--- a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild
+++ b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 inherit cmake distutils-r1
 
 TESTVER="abb579e00f2deeede91cb485e53512efab9c6474"


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/editorconfig-core-py/
@ 2024-02-13  4:27 Michał Górny
  0 siblings, 0 replies; 10+ messages in thread
From: Michał Górny @ 2024-02-13  4:27 UTC (permalink / raw
  To: gentoo-commits

commit:     54c78e476a751206cdf068d6321d64b4a5c3bdc2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 13 04:24:28 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 13 04:25:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54c78e47

dev-python/editorconfig-core-py: Prepare for rename

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../editorconfig-core-py-0.12.3-r1.ebuild          | 23 ++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild
index f23f55ddca2f..df3872e19dc0 100644
--- a/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild
+++ b/dev-python/editorconfig-core-py/editorconfig-core-py-0.12.3-r1.ebuild
@@ -1,18 +1,23 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 inherit cmake distutils-r1
 
+MY_P=editorconfig-core-py-${PV}
 TESTVER="abb579e00f2deeede91cb485e53512efab9c6474"
 DESCRIPTION="Clone of EditorConfig core written in Python"
 HOMEPAGE="https://editorconfig.org/"
-SRC_URI="https://github.com/${PN%-core-py}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+SRC_URI="
+	https://github.com/editorconfig/editorconfig-core-py/archive/v${PV}.tar.gz
+		-> ${MY_P}.tar.gz
 	test? (
-		https://github.com/${PN%-core-py}/${PN%-core-py}-core-test/archive/${TESTVER}.tar.gz -> ${PN%-core-py}-core-test-${TESTVER}.tar.gz
-	)"
+		https://github.com/editorconfig/editorconfig-core-test/archive/${TESTVER}.tar.gz
+			-> editorconfig-core-test-${TESTVER}.tar.gz
+	)
+"
 
 LICENSE="PYTHON BSD-4"
 SLOT="0"
@@ -20,12 +25,14 @@ KEYWORDS="~amd64 ~x86"
 IUSE="cli test"
 RESTRICT="!test? ( test )"
 
-RDEPEND="!<app-vim/editorconfig-vim-0.3.3-r1
-	cli? ( !app-text/editorconfig-core-c[cli] )"
+RDEPEND="
+	!<app-vim/editorconfig-vim-0.3.3-r1
+	cli? ( !app-text/editorconfig-core-c[cli] )
+"
 
 src_prepare() {
 	if use test; then
-		mv "${WORKDIR}"/${PN%-core-py}-core-test-${TESTVER}/* "${S}"/tests || die
+		mv "${WORKDIR}"/editorconfig-core-test-${TESTVER}/* "${S}"/tests || die
 	fi
 	if ! use cli; then
 		sed -i -e '/editorconfig\.__main__/d' setup.py || die


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-02-13  4:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-05 13:34 [gentoo-commits] repo/gentoo:master commit in: dev-python/editorconfig-core-py/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2024-02-13  4:27 Michał Górny
2022-08-10 13:05 Sam James
2020-12-23  9:31 Michał Górny
2020-12-23  8:29 Michał Górny
2020-12-23  8:29 Michał Górny
2020-04-22  5:59 Michał Górny
2020-02-05 13:00 Michał Górny
2018-06-23 21:48 Aaron Bauman
2017-02-28 19:07 Patrick McLean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox