* [gentoo-commits] repo/proj/guru:master commit in: dev-python/black/
@ 2020-04-27 7:02 Andrew Ammerlaan
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2020-04-27 7:02 UTC (permalink / raw
To: gentoo-commits
commit: 96280657bfbc227b841330645889d5ae05a608e5
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Apr 26 22:17:04 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Apr 26 22:39:11 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96280657
dev-python/black: add longdescription
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/black/metadata.xml | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/dev-python/black/metadata.xml b/dev-python/black/metadata.xml
index 1a334b8..8754f13 100644
--- a/dev-python/black/metadata.xml
+++ b/dev-python/black/metadata.xml
@@ -1,14 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>michael.egger@tsn.at</email>
- <name>Michael Egger</name>
- </maintainer>
- <longdescription>
- The uncompromising Python code formatter.
- </longdescription>
- <upstream>
- <remote-id type="github">psf/black</remote-id>
- </upstream>
+ <maintainer type="person">
+ <email>michael.egger@tsn.at</email>
+ <name>Michael Egger</name>
+ </maintainer>
+ <longdescription lang="en">
+Black is the uncompromising Python code formatter. By using it, you agree to cede control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting. You will save time and mental energy for more important matters.
+
+Blackened code looks the same regardless of the project you're reading. Formatting becomes transparent after a while and you can focus on the content instead.
+
+Black makes code review faster by producing the smallest diffs possible.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">psf/black</remote-id>
+ </upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/black/
@ 2020-06-06 9:32 Andrew Ammerlaan
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2020-06-06 9:32 UTC (permalink / raw
To: gentoo-commits
commit: 7b7dd45540a591358f0d65b12d343d1906fd3d2a
Author: Michael Egger <michael.egger <AT> tsn <DOT> at>
AuthorDate: Thu Jun 4 12:56:19 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Jun 4 12:56:19 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7b7dd455
dev-python/black: Package has been added to gentoo overlay
Signed-off-by: Michael Egger <michael.egger <AT> tsn.at>
dev-python/black/Manifest | 1 -
dev-python/black/black-19.10_beta0-r1.ebuild | 57 ---------------------------
dev-python/black/black-19.10_beta0-r2.ebuild | 59 ----------------------------
dev-python/black/metadata.xml | 18 ---------
4 files changed, 135 deletions(-)
diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest
deleted file mode 100644
index 53688b5..0000000
--- a/dev-python/black/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST black-19.10b0.tar.gz 1019740 BLAKE2B 8a604cd79761ff7e4da6edf985d1a876e233fee9025d5066ea012a3bad9abfe0d19c5bbed87d585db8549c82ca60e1c14a9ce9d9eacd9e62ab8a354ab4757e8d SHA512 abc6d2623ab50e59bed01fdb7a6ee7434c2d3e0f779a046d9141087aa6ef46b73b3aacc6bf84ac70b9384817bd2c707a3fa262811f11a2f61a99251d2b84dd02
diff --git a/dev-python/black/black-19.10_beta0-r1.ebuild b/dev-python/black/black-19.10_beta0-r1.ebuild
deleted file mode 100644
index 11229b7..0000000
--- a/dev-python/black/black-19.10_beta0-r1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-MY_PV="19.10b0"
-
-DESCRIPTION="The uncompromising Python code formatter"
-HOMEPAGE="https://github.com/psf/black https://pypi.org/project/black/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="
- test? (
- >=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}]
- dev-python/aiohttp-cors[${PYTHON_USEDEP}]
- )
-"
-
-RDEPEND="
- >=dev-python/appdirs-1.4[${PYTHON_USEDEP}]
- >=dev-python/attrs-18.1[${PYTHON_USEDEP}]
- >=dev-python/click-6.5[${PYTHON_USEDEP}]
- >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
- >=dev-python/pathspec-0.6[${PYTHON_USEDEP}]
- >=dev-python/regex-2019.11.1[${PYTHON_USEDEP}]
- >=dev-python/toml-0.9.4[${PYTHON_USEDEP}]
- >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
- >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6)
-"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-python_prepare_all() {
- # cannot get_version() for some reason so we set it here manually
- sed -i -e "s/get_version(root=CURRENT_DIR.parent)/${MY_PV::-2}/g" \
- -e '/for sp in "abcfr":/d' \
- -e '/version.split(sp)/d' \
- docs/conf.py || die
-
- distutils-r1_python_prepare_all
-}
-
-distutils_enable_tests pytest
-# docs fail to build:: module 'black' has no attribute 'is_python36'
-# 'release': return_codes_re.sub('', self.config.release),
-#distutils_enable_sphinx docs dev-python/recommonmark
diff --git a/dev-python/black/black-19.10_beta0-r2.ebuild b/dev-python/black/black-19.10_beta0-r2.ebuild
deleted file mode 100644
index 6b38d0d..0000000
--- a/dev-python/black/black-19.10_beta0-r2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-MY_PV="19.10b0"
-
-DESCRIPTION="The uncompromising Python code formatter"
-HOMEPAGE="
- https://github.com/psf/black
- https://pypi.org/project/black
-"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="
- test? (
- >=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}]
- dev-python/aiohttp-cors[${PYTHON_USEDEP}]
- )
-"
-RDEPEND="
- >=dev-python/appdirs-1.4[${PYTHON_USEDEP}]
- >=dev-python/attrs-18.1[${PYTHON_USEDEP}]
- >=dev-python/click-6.5[${PYTHON_USEDEP}]
- >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
- >=dev-python/pathspec-0.6[${PYTHON_USEDEP}]
- >=dev-python/regex-2019.11.1[${PYTHON_USEDEP}]
- >=dev-python/toml-0.9.4[${PYTHON_USEDEP}]
- >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
- >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
- $(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6)
-"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-python_prepare_all() {
- # cannot get_version() for some reason so we set it here manually
- sed -i -e "s/get_version(root=CURRENT_DIR.parent)/${MY_PV::-2}/g" \
- -e '/for sp in "abcfr":/d' \
- -e '/version.split(sp)/d' \
- docs/conf.py || die
-
- distutils-r1_python_prepare_all
-}
-
-distutils_enable_tests pytest
-# docs fail to build:: module 'black' has no attribute 'is_python36'
-# 'release': return_codes_re.sub('', self.config.release),
-#distutils_enable_sphinx docs dev-python/recommonmark
diff --git a/dev-python/black/metadata.xml b/dev-python/black/metadata.xml
deleted file mode 100644
index 8754f13..0000000
--- a/dev-python/black/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>michael.egger@tsn.at</email>
- <name>Michael Egger</name>
- </maintainer>
- <longdescription lang="en">
-Black is the uncompromising Python code formatter. By using it, you agree to cede control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting. You will save time and mental energy for more important matters.
-
-Blackened code looks the same regardless of the project you're reading. Formatting becomes transparent after a while and you can focus on the content instead.
-
-Black makes code review faster by producing the smallest diffs possible.
- </longdescription>
- <upstream>
- <remote-id type="github">psf/black</remote-id>
- </upstream>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/black/
@ 2020-05-18 16:27 Andrew Ammerlaan
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2020-05-18 16:27 UTC (permalink / raw
To: gentoo-commits
commit: 20f45075daaaca9a1322a7592863e43a02f13636
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 17 02:18:33 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon May 18 15:41:08 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=20f45075
dev-python/black: readd python3.8
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/black/black-19.10_beta0-r2.ebuild | 59 ++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/dev-python/black/black-19.10_beta0-r2.ebuild b/dev-python/black/black-19.10_beta0-r2.ebuild
new file mode 100644
index 0000000..6b38d0d
--- /dev/null
+++ b/dev-python/black/black-19.10_beta0-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+MY_PV="19.10b0"
+
+DESCRIPTION="The uncompromising Python code formatter"
+HOMEPAGE="
+ https://github.com/psf/black
+ https://pypi.org/project/black
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ test? (
+ >=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}]
+ dev-python/aiohttp-cors[${PYTHON_USEDEP}]
+ )
+"
+RDEPEND="
+ >=dev-python/appdirs-1.4[${PYTHON_USEDEP}]
+ >=dev-python/attrs-18.1[${PYTHON_USEDEP}]
+ >=dev-python/click-6.5[${PYTHON_USEDEP}]
+ >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
+ >=dev-python/pathspec-0.6[${PYTHON_USEDEP}]
+ >=dev-python/regex-2019.11.1[${PYTHON_USEDEP}]
+ >=dev-python/toml-0.9.4[${PYTHON_USEDEP}]
+ >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6)
+"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+python_prepare_all() {
+ # cannot get_version() for some reason so we set it here manually
+ sed -i -e "s/get_version(root=CURRENT_DIR.parent)/${MY_PV::-2}/g" \
+ -e '/for sp in "abcfr":/d' \
+ -e '/version.split(sp)/d' \
+ docs/conf.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+distutils_enable_tests pytest
+# docs fail to build:: module 'black' has no attribute 'is_python36'
+# 'release': return_codes_re.sub('', self.config.release),
+#distutils_enable_sphinx docs dev-python/recommonmark
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/black/
@ 2020-04-07 7:42 Andrew Ammerlaan
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2020-04-07 7:42 UTC (permalink / raw
To: gentoo-commits
commit: fe016a2327829901ccb083781d2d13b883e703b7
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Apr 7 01:09:30 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Apr 7 01:12:26 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fe016a23
dev-python/black: readd tests
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/black/black-19.10_beta0-r1.ebuild | 17 +++++++----------
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/dev-python/black/black-19.10_beta0-r1.ebuild b/dev-python/black/black-19.10_beta0-r1.ebuild
index 14ec6c5..11229b7 100644
--- a/dev-python/black/black-19.10_beta0-r1.ebuild
+++ b/dev-python/black/black-19.10_beta0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7} )
DISTUTILS_USE_SETUPTOOLS=rdepend
@@ -19,15 +19,12 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-#aiohttp-cors being removed because no py3_7 support
-RESTRICT="test"
-
-#DEPEND="
-# test? (
-# >=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}]
-# dev-python/aiohttp-cors[${PYTHON_USEDEP}]
-# )
-#
+DEPEND="
+ test? (
+ >=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}]
+ dev-python/aiohttp-cors[${PYTHON_USEDEP}]
+ )
+"
RDEPEND="
>=dev-python/appdirs-1.4[${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/black/
@ 2020-03-27 12:25 Andrew Ammerlaan
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2020-03-27 12:25 UTC (permalink / raw
To: gentoo-commits
commit: ad566cd216a54a5910df230e3301ff1f33a53b3a
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Mar 27 12:24:58 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 27 12:24:58 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad566cd2
dev-python/black: restrict tests because dep is masked for removal
Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/black/black-19.10_beta0-r1.ebuild | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/dev-python/black/black-19.10_beta0-r1.ebuild b/dev-python/black/black-19.10_beta0-r1.ebuild
index 395b010..14ec6c5 100644
--- a/dev-python/black/black-19.10_beta0-r1.ebuild
+++ b/dev-python/black/black-19.10_beta0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
@@ -19,12 +19,15 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-DEPEND="
- test? (
- >=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}]
- dev-python/aiohttp-cors[${PYTHON_USEDEP}]
- )
-"
+#aiohttp-cors being removed because no py3_7 support
+RESTRICT="test"
+
+#DEPEND="
+# test? (
+# >=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}]
+# dev-python/aiohttp-cors[${PYTHON_USEDEP}]
+# )
+#
RDEPEND="
>=dev-python/appdirs-1.4[${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/black/
@ 2020-03-15 13:14 Andrew Ammerlaan
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2020-03-15 13:14 UTC (permalink / raw
To: gentoo-commits
commit: a21a0c6a4ff63f031e168d3779b3fa694b81eee0
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 15 13:13:50 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 15 13:13:50 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a21a0c6a
dev-python/black: RESTRICT is already added by distutils_enable_tests
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/black/black-19.10_beta0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/black/black-19.10_beta0-r1.ebuild b/dev-python/black/black-19.10_beta0-r1.ebuild
index 0bc6e25..11229b7 100644
--- a/dev-python/black/black-19.10_beta0-r1.ebuild
+++ b/dev-python/black/black-19.10_beta0-r1.ebuild
@@ -18,7 +18,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RESTRICT="!test? ( test )"
DEPEND="
test? (
@@ -54,4 +53,5 @@ python_prepare_all() {
distutils_enable_tests pytest
# docs fail to build:: module 'black' has no attribute 'is_python36'
+# 'release': return_codes_re.sub('', self.config.release),
#distutils_enable_sphinx docs dev-python/recommonmark
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/black/
@ 2020-03-15 13:14 Andrew Ammerlaan
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2020-03-15 13:14 UTC (permalink / raw
To: gentoo-commits
commit: c7399c3afb6c877f7a039866742b6d2918a3358a
Author: Michael Egger <michael.egger <AT> tsn <DOT> at>
AuthorDate: Sun Mar 15 12:51:35 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 15 12:52:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7399c3a
dev-python/black: Add dependencies required for tests
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Michael Egger <michael.egger <AT> tsn.at>
.../{black-19.10_beta0.ebuild => black-19.10_beta0-r1.ebuild} | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/dev-python/black/black-19.10_beta0.ebuild b/dev-python/black/black-19.10_beta0-r1.ebuild
similarity index 89%
rename from dev-python/black/black-19.10_beta0.ebuild
rename to dev-python/black/black-19.10_beta0-r1.ebuild
index f62bc49..0bc6e25 100644
--- a/dev-python/black/black-19.10_beta0.ebuild
+++ b/dev-python/black/black-19.10_beta0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7} )
DISTUTILS_USE_SETUPTOOLS=rdepend
@@ -18,9 +18,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+RESTRICT="!test? ( test )"
-# tests fail: name 'AioHTTPTestCase' is not defined
-RESTRICT="test"
+DEPEND="
+ test? (
+ >=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}]
+ dev-python/aiohttp-cors[${PYTHON_USEDEP}]
+ )
+"
RDEPEND="
>=dev-python/appdirs-1.4[${PYTHON_USEDEP}]
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/black/
@ 2020-03-13 17:45 Andrew Ammerlaan
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2020-03-13 17:45 UTC (permalink / raw
To: gentoo-commits
commit: e193e4dd59df161ff4b8082ba95ccc58e1fa1b5a
Author: Michael Egger <michael.egger <AT> tsn <DOT> at>
AuthorDate: Thu Mar 12 21:53:16 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar 12 21:53:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e193e4dd
dev-python/black: new package
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Michael Egger <michael.egger <AT> tsn.at>
dev-python/black/Manifest | 1 +
dev-python/black/black-19.10_beta0.ebuild | 40 +++++++++++++++++++++++++++++++
dev-python/black/metadata.xml | 14 +++++++++++
3 files changed, 55 insertions(+)
diff --git a/dev-python/black/Manifest b/dev-python/black/Manifest
new file mode 100644
index 0000000..53688b5
--- /dev/null
+++ b/dev-python/black/Manifest
@@ -0,0 +1 @@
+DIST black-19.10b0.tar.gz 1019740 BLAKE2B 8a604cd79761ff7e4da6edf985d1a876e233fee9025d5066ea012a3bad9abfe0d19c5bbed87d585db8549c82ca60e1c14a9ce9d9eacd9e62ab8a354ab4757e8d SHA512 abc6d2623ab50e59bed01fdb7a6ee7434c2d3e0f779a046d9141087aa6ef46b73b3aacc6bf84ac70b9384817bd2c707a3fa262811f11a2f61a99251d2b84dd02
diff --git a/dev-python/black/black-19.10_beta0.ebuild b/dev-python/black/black-19.10_beta0.ebuild
new file mode 100644
index 0000000..e441029
--- /dev/null
+++ b/dev-python/black/black-19.10_beta0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+MY_PV="19.10b0"
+DESCRIPTION="The uncompromising Python code formatter"
+HOMEPAGE="https://github.com/psf/black https://pypi.org/project/black/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=dev-python/appdirs-1.4[${PYTHON_USEDEP}]
+ >=dev-python/attrs-18.1[${PYTHON_USEDEP}]
+ >=dev-python/click-6.5[${PYTHON_USEDEP}]
+ >=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
+ >=dev-python/pathspec-0.6[${PYTHON_USEDEP}]
+ >=dev-python/regex-2019.11.1[${PYTHON_USEDEP}]
+ >=dev-python/toml-0.9.4[${PYTHON_USEDEP}]
+ >=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6)
+"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+python_test() {
+ python -m unittest tests/test_black.py || die "Tests fail with ${EPYTHON}"
+}
\ No newline at end of file
diff --git a/dev-python/black/metadata.xml b/dev-python/black/metadata.xml
new file mode 100644
index 0000000..1a334b8
--- /dev/null
+++ b/dev-python/black/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>michael.egger@tsn.at</email>
+ <name>Michael Egger</name>
+ </maintainer>
+ <longdescription>
+ The uncompromising Python code formatter.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">psf/black</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/black/
@ 2020-03-13 12:06 Andrew Ammerlaan
2020-03-13 17:45 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
0 siblings, 1 reply; 9+ messages in thread
From: Andrew Ammerlaan @ 2020-03-13 12:06 UTC (permalink / raw
To: gentoo-commits
commit: 2f151dc5b32040707c6519e1a3d407d49b02ae5b
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Mar 13 12:06:13 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 13 12:06:13 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f151dc5
dev-python/black: EAPI bump
tried to fix test but still not quite working
tried to add docs but fails to build for some reason
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/black/black-19.10_beta0.ebuild | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/dev-python/black/black-19.10_beta0.ebuild b/dev-python/black/black-19.10_beta0.ebuild
index e441029..f62bc49 100644
--- a/dev-python/black/black-19.10_beta0.ebuild
+++ b/dev-python/black/black-19.10_beta0.ebuild
@@ -1,13 +1,16 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
inherit distutils-r1
MY_PV="19.10b0"
+
DESCRIPTION="The uncompromising Python code formatter"
HOMEPAGE="https://github.com/psf/black https://pypi.org/project/black/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
@@ -15,7 +18,9 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="test"
+
+# tests fail: name 'AioHTTPTestCase' is not defined
+RESTRICT="test"
RDEPEND="
>=dev-python/appdirs-1.4[${PYTHON_USEDEP}]
@@ -29,12 +34,19 @@ RDEPEND="
>=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6)
"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
S="${WORKDIR}/${PN}-${MY_PV}"
-python_test() {
- python -m unittest tests/test_black.py || die "Tests fail with ${EPYTHON}"
-}
\ No newline at end of file
+python_prepare_all() {
+ # cannot get_version() for some reason so we set it here manually
+ sed -i -e "s/get_version(root=CURRENT_DIR.parent)/${MY_PV::-2}/g" \
+ -e '/for sp in "abcfr":/d' \
+ -e '/version.split(sp)/d' \
+ docs/conf.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+distutils_enable_tests pytest
+# docs fail to build:: module 'black' has no attribute 'is_python36'
+#distutils_enable_sphinx docs dev-python/recommonmark
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/black/
2020-03-13 12:06 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
@ 2020-03-13 17:45 ` Andrew Ammerlaan
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Ammerlaan @ 2020-03-13 17:45 UTC (permalink / raw
To: gentoo-commits
commit: 2f151dc5b32040707c6519e1a3d407d49b02ae5b
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Mar 13 12:06:13 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 13 12:06:13 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f151dc5
dev-python/black: EAPI bump
tried to fix test but still not quite working
tried to add docs but fails to build for some reason
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/black/black-19.10_beta0.ebuild | 28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)
diff --git a/dev-python/black/black-19.10_beta0.ebuild b/dev-python/black/black-19.10_beta0.ebuild
index e441029..f62bc49 100644
--- a/dev-python/black/black-19.10_beta0.ebuild
+++ b/dev-python/black/black-19.10_beta0.ebuild
@@ -1,13 +1,16 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
inherit distutils-r1
MY_PV="19.10b0"
+
DESCRIPTION="The uncompromising Python code formatter"
HOMEPAGE="https://github.com/psf/black https://pypi.org/project/black/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
@@ -15,7 +18,9 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="test"
+
+# tests fail: name 'AioHTTPTestCase' is not defined
+RESTRICT="test"
RDEPEND="
>=dev-python/appdirs-1.4[${PYTHON_USEDEP}]
@@ -29,12 +34,19 @@ RDEPEND="
>=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6)
"
-DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
S="${WORKDIR}/${PN}-${MY_PV}"
-python_test() {
- python -m unittest tests/test_black.py || die "Tests fail with ${EPYTHON}"
-}
\ No newline at end of file
+python_prepare_all() {
+ # cannot get_version() for some reason so we set it here manually
+ sed -i -e "s/get_version(root=CURRENT_DIR.parent)/${MY_PV::-2}/g" \
+ -e '/for sp in "abcfr":/d' \
+ -e '/version.split(sp)/d' \
+ docs/conf.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+distutils_enable_tests pytest
+# docs fail to build:: module 'black' has no attribute 'is_python36'
+#distutils_enable_sphinx docs dev-python/recommonmark
^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-06-06 9:32 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-27 7:02 [gentoo-commits] repo/proj/guru:master commit in: dev-python/black/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2020-06-06 9:32 Andrew Ammerlaan
2020-05-18 16:27 Andrew Ammerlaan
2020-04-07 7:42 Andrew Ammerlaan
2020-03-27 12:25 Andrew Ammerlaan
2020-03-15 13:14 Andrew Ammerlaan
2020-03-15 13:14 Andrew Ammerlaan
2020-03-13 17:45 Andrew Ammerlaan
2020-03-13 12:06 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-13 17:45 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox