public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/bracex/
@ 2020-03-27 17:04 Alessandro Barbieri
  0 siblings, 0 replies; 6+ messages in thread
From: Alessandro Barbieri @ 2020-03-27 17:04 UTC (permalink / raw
  To: gentoo-commits

commit:     65e69af38dd357e4a43f800a40b3008ff73c7d11
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Mar 27 17:01:44 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Mar 27 17:03:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=65e69af3

dev-python/bracex: new package

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/bracex/Manifest            |  1 +
 dev-python/bracex/bracex-2.0.0.ebuild | 38 +++++++++++++++++++++++++++++++++++
 dev-python/bracex/metadata.xml        | 18 +++++++++++++++++
 3 files changed, 57 insertions(+)

diff --git a/dev-python/bracex/Manifest b/dev-python/bracex/Manifest
new file mode 100644
index 0000000..ff829ba
--- /dev/null
+++ b/dev-python/bracex/Manifest
@@ -0,0 +1 @@
+DIST bracex-2.0.0.tar.gz 24223 BLAKE2B bbf24e000bc7c2e1055e5a1a9b685c9b44ff49c2678b4b3bc43f9643277d8fba5e721b905f4f133903ef894a37633e1aa07dfd19ebd5396514dd15603bef3887 SHA512 0d8c8334dc6c3546413d5af8f3e10756c9b4a20f2462dff548fca3832968095fbddee9d2e10528960e0739ffacbb2fc475c042764148a45d5134f902b449df7f

diff --git a/dev-python/bracex/bracex-2.0.0.ebuild b/dev-python/bracex/bracex-2.0.0.ebuild
new file mode 100644
index 0000000..2411cab
--- /dev/null
+++ b/dev-python/bracex/bracex-2.0.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+#DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="Bash style brace expansion for Python"
+HOMEPAGE="
+	https://github.com/facelessuser/bracex
+	https://pypi.org/project/bracex
+"
+SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=""
+DEPEND="
+	${RDEPEND}
+	doc? (
+		dev-python/mkdocs-git-revision-date-localized-plugin[${PYTHON_USEDEP}]
+		dev-python/mkdocs_pymdownx_material_extras[${PYTHON_USEDEP}]
+		dev-python/pyspelling[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+
+python_compile_all() {
+	use doc && mkdocs build || die
+	default
+}

diff --git a/dev-python/bracex/metadata.xml b/dev-python/bracex/metadata.xml
new file mode 100644
index 0000000..c1e63dc
--- /dev/null
+++ b/dev-python/bracex/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbieri@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">facelessuser/bracex</remote-id>
+    <remote-id type="pypi">bracex</remote-id>
+  </upstream>
+  <longdescription lang="en">
+    Why Bracex over other solutions?
+
+    Bracex actually follows pretty closely to how Bash processes braces. It is not a 1:1 implementation of how Bash handles braces, but generally, it follows very closely. Almost all of the test cases are run through Bash first, then our implementation is compared against the results Bash gives. There are a few cases where we have purposely deviated. For instance, we are not handling Bash's command line inputs, so we are not giving special meaning to back ticks and quotes at this time.
+  </longdescription>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/bracex/
@ 2020-03-27 17:12 Alessandro Barbieri
  0 siblings, 0 replies; 6+ messages in thread
From: Alessandro Barbieri @ 2020-03-27 17:12 UTC (permalink / raw
  To: gentoo-commits

commit:     cee29a4c702d6041e7928fcfc0c577e5fba0ef1f
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Mar 27 17:12:09 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Mar 27 17:12:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cee29a4c

dev-python/bracex: bdepend for docs

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/bracex/bracex-2.0.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/bracex/bracex-2.0.0.ebuild b/dev-python/bracex/bracex-2.0.0.ebuild
index 2411cab..b7dd613 100644
--- a/dev-python/bracex/bracex-2.0.0.ebuild
+++ b/dev-python/bracex/bracex-2.0.0.ebuild
@@ -21,8 +21,8 @@ KEYWORDS="~amd64 ~x86"
 IUSE="doc"
 
 RDEPEND=""
-DEPEND="
-	${RDEPEND}
+DEPEND=""
+BDEPEND="
 	doc? (
 		dev-python/mkdocs-git-revision-date-localized-plugin[${PYTHON_USEDEP}]
 		dev-python/mkdocs_pymdownx_material_extras[${PYTHON_USEDEP}]
@@ -34,5 +34,6 @@ distutils_enable_tests pytest
 
 python_compile_all() {
 	use doc && mkdocs build || die
+	#TODO: install docs
 	default
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/bracex/
  2020-03-28 11:08 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2020-03-28 11:00 ` Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2020-03-28 11:00 UTC (permalink / raw
  To: gentoo-commits

commit:     2876188f58d19272548e56b103a3f216eb6216c1
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar 28 10:25:17 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar 28 11:00:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2876188f

dev-python/bracex: fix doc

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/bracex/bracex-2.0.0.ebuild | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/dev-python/bracex/bracex-2.0.0.ebuild b/dev-python/bracex/bracex-2.0.0.ebuild
index b7dd613..3f6f564 100644
--- a/dev-python/bracex/bracex-2.0.0.ebuild
+++ b/dev-python/bracex/bracex-2.0.0.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
-#DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1
 
@@ -18,22 +17,23 @@ SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+
 IUSE="doc"
 
-RDEPEND=""
-DEPEND=""
 BDEPEND="
 	doc? (
-		dev-python/mkdocs-git-revision-date-localized-plugin[${PYTHON_USEDEP}]
-		dev-python/mkdocs_pymdownx_material_extras[${PYTHON_USEDEP}]
-		dev-python/pyspelling[${PYTHON_USEDEP}]
+		dev-python/mkdocs-git-revision-date-localized-plugin
+		dev-python/mkdocs_pymdownx_material_extras
+		dev-python/pyspelling
 	)
 "
 
 distutils_enable_tests pytest
 
 python_compile_all() {
-	use doc && mkdocs build || die
-	#TODO: install docs
 	default
+	if use doc; then
+		mkdocs build || die "failed to make docs"
+		HTML_DOCS="site"
+	fi
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/bracex/
  2020-04-11 20:34 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2020-04-11  8:38 ` Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2020-04-11  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     e755a37dd1c591e27827076bc6b172d111ed87ad
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Apr 11 08:38:46 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Apr 11 08:38:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e755a37d

dev-python/bracex: do not depend on mkdocs-git-rev...

Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/bracex/bracex-2.0.0.ebuild | 32 +++++++++++++++-----------------
 1 file changed, 15 insertions(+), 17 deletions(-)

diff --git a/dev-python/bracex/bracex-2.0.0.ebuild b/dev-python/bracex/bracex-2.0.0.ebuild
index 3f6f564..82b9ebe 100644
--- a/dev-python/bracex/bracex-2.0.0.ebuild
+++ b/dev-python/bracex/bracex-2.0.0.ebuild
@@ -5,7 +5,14 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
 
-inherit distutils-r1
+DOCBUILDER="mkdocs"
+DOCDEPEND="
+	~dev-python/mkdocs-material-5.0.0_rc2
+	dev-python/mkdocs_pymdownx_material_extras
+	dev-python/pyspelling
+"
+
+inherit distutils-r1 docs
 
 DESCRIPTION="Bash style brace expansion for Python"
 HOMEPAGE="
@@ -18,22 +25,13 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-IUSE="doc"
-
-BDEPEND="
-	doc? (
-		dev-python/mkdocs-git-revision-date-localized-plugin
-		dev-python/mkdocs_pymdownx_material_extras
-		dev-python/pyspelling
-	)
-"
-
 distutils_enable_tests pytest
 
-python_compile_all() {
-	default
-	if use doc; then
-		mkdocs build || die "failed to make docs"
-		HTML_DOCS="site"
-	fi
+python_prepare_all() {
+	# git revision data plugin needs git repo to build
+	# do not depend on this
+	sed -i -e '/git-revision-date-localized/d' \
+		mkdocs.yml || die
+
+		distutils-r1_python_prepare_all
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/bracex/
  2020-12-07 11:52 [gentoo-commits] repo/proj/guru:master commit in: dev-python/bracex/ Andrew Ammerlaan
@ 2020-12-07 11:52 ` Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2020-12-07 11:52 UTC (permalink / raw
  To: gentoo-commits

commit:     edc7392e573bf357d7d05916f7d2751a0692915d
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Dec  7 11:48:55 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Dec  7 11:48:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edc7392e

dev-python/bracex: version bump

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/bracex/Manifest                         |  2 +-
 .../{bracex-2.0.0.ebuild => bracex-2.0.1.ebuild}   | 22 ++++++++++++++--------
 2 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/dev-python/bracex/Manifest b/dev-python/bracex/Manifest
index ff829ba0..ea2f1af7 100644
--- a/dev-python/bracex/Manifest
+++ b/dev-python/bracex/Manifest
@@ -1 +1 @@
-DIST bracex-2.0.0.tar.gz 24223 BLAKE2B bbf24e000bc7c2e1055e5a1a9b685c9b44ff49c2678b4b3bc43f9643277d8fba5e721b905f4f133903ef894a37633e1aa07dfd19ebd5396514dd15603bef3887 SHA512 0d8c8334dc6c3546413d5af8f3e10756c9b4a20f2462dff548fca3832968095fbddee9d2e10528960e0739ffacbb2fc475c042764148a45d5134f902b449df7f
+DIST bracex-2.0.1.tar.gz 24356 BLAKE2B dc4df37c569e26a4319d4240694a397926075ba8cc3d6f44cb35ae42dd20c36f690f904d6a6895aa4e02d7108b3bc173d4a6f672ac9bf5ee426f280dab5fc0e1 SHA512 28758ce4796ad64cceeab0e93edf4c9bb71c6a968db3b917db3e22619278a4639e587da7070c15c5a3c8c1121871541e7764904769859c3c590ac8611f224a13

diff --git a/dev-python/bracex/bracex-2.0.0.ebuild b/dev-python/bracex/bracex-2.0.1.ebuild
similarity index 57%
rename from dev-python/bracex/bracex-2.0.0.ebuild
rename to dev-python/bracex/bracex-2.0.1.ebuild
index fdf69b73..5e4f9fdc 100644
--- a/dev-python/bracex/bracex-2.0.0.ebuild
+++ b/dev-python/bracex/bracex-2.0.1.ebuild
@@ -3,11 +3,13 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="
-	~dev-python/mkdocs-material-5.0.0_rc2
+	dev-python/mkdocs-git-revision-date-localized-plugin
+	dev-python/mkdocs-material
+	dev-python/mkdocs-minify-plugin
 	dev-python/mkdocs_pymdownx_material_extras
 	dev-python/pyspelling
 "
@@ -28,10 +30,14 @@ KEYWORDS="~amd64 ~x86"
 distutils_enable_tests pytest
 
 python_prepare_all() {
-	# git revision data plugin needs git repo to build
-	# do not depend on this
-	sed -i -e '/git-revision-date-localized/d' \
-		mkdocs.yml || die
-
-		distutils-r1_python_prepare_all
+	# mkdocs-git-revision-date-localized-plugin needs git repo
+	if use doc; then
+		git init
+		git config --global user.email "you@example.com" || die
+		git config --global user.name "Your Name" || die
+		git add .
+		git commit -m 'init'
+	fi
+
+	distutils-r1_python_prepare_all
 }


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

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/bracex/
@ 2020-12-07 11:52 Andrew Ammerlaan
  2020-12-07 11:52 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Ammerlaan @ 2020-12-07 11:52 UTC (permalink / raw
  To: gentoo-commits

commit:     edc7392e573bf357d7d05916f7d2751a0692915d
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Dec  7 11:48:55 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Dec  7 11:48:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edc7392e

dev-python/bracex: version bump

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/bracex/Manifest                         |  2 +-
 .../{bracex-2.0.0.ebuild => bracex-2.0.1.ebuild}   | 22 ++++++++++++++--------
 2 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/dev-python/bracex/Manifest b/dev-python/bracex/Manifest
index ff829ba0..ea2f1af7 100644
--- a/dev-python/bracex/Manifest
+++ b/dev-python/bracex/Manifest
@@ -1 +1 @@
-DIST bracex-2.0.0.tar.gz 24223 BLAKE2B bbf24e000bc7c2e1055e5a1a9b685c9b44ff49c2678b4b3bc43f9643277d8fba5e721b905f4f133903ef894a37633e1aa07dfd19ebd5396514dd15603bef3887 SHA512 0d8c8334dc6c3546413d5af8f3e10756c9b4a20f2462dff548fca3832968095fbddee9d2e10528960e0739ffacbb2fc475c042764148a45d5134f902b449df7f
+DIST bracex-2.0.1.tar.gz 24356 BLAKE2B dc4df37c569e26a4319d4240694a397926075ba8cc3d6f44cb35ae42dd20c36f690f904d6a6895aa4e02d7108b3bc173d4a6f672ac9bf5ee426f280dab5fc0e1 SHA512 28758ce4796ad64cceeab0e93edf4c9bb71c6a968db3b917db3e22619278a4639e587da7070c15c5a3c8c1121871541e7764904769859c3c590ac8611f224a13

diff --git a/dev-python/bracex/bracex-2.0.0.ebuild b/dev-python/bracex/bracex-2.0.1.ebuild
similarity index 57%
rename from dev-python/bracex/bracex-2.0.0.ebuild
rename to dev-python/bracex/bracex-2.0.1.ebuild
index fdf69b73..5e4f9fdc 100644
--- a/dev-python/bracex/bracex-2.0.0.ebuild
+++ b/dev-python/bracex/bracex-2.0.1.ebuild
@@ -3,11 +3,13 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="
-	~dev-python/mkdocs-material-5.0.0_rc2
+	dev-python/mkdocs-git-revision-date-localized-plugin
+	dev-python/mkdocs-material
+	dev-python/mkdocs-minify-plugin
 	dev-python/mkdocs_pymdownx_material_extras
 	dev-python/pyspelling
 "
@@ -28,10 +30,14 @@ KEYWORDS="~amd64 ~x86"
 distutils_enable_tests pytest
 
 python_prepare_all() {
-	# git revision data plugin needs git repo to build
-	# do not depend on this
-	sed -i -e '/git-revision-date-localized/d' \
-		mkdocs.yml || die
-
-		distutils-r1_python_prepare_all
+	# mkdocs-git-revision-date-localized-plugin needs git repo
+	if use doc; then
+		git init
+		git config --global user.email "you@example.com" || die
+		git config --global user.name "Your Name" || die
+		git add .
+		git commit -m 'init'
+	fi
+
+	distutils-r1_python_prepare_all
 }


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

end of thread, other threads:[~2020-12-07 11:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-07 11:52 [gentoo-commits] repo/proj/guru:master commit in: dev-python/bracex/ Andrew Ammerlaan
2020-12-07 11:52 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2020-04-11 20:34 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-04-11  8:38 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-28 11:08 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-03-28 11:00 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-03-27 17:12 Alessandro Barbieri
2020-03-27 17:04 Alessandro Barbieri

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