[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-appconfig/

2020-02-05 Thread Michał Górny
commit: b913363531f9db76215bb7a6873724781840f0a5
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  5 13:08:43 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  5 13:24:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9133635

dev-python/flask-appconfig: Remove py2

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

 dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild 
b/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
index 8bf5cf5b46a..9ea5d50ed6a 100644
--- a/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
+++ b/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( pypy3 python{2_7,3_{6,7}} )
+PYTHON_COMPAT=( pypy3 python3_{6,7} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-appconfig/

2018-10-03 Thread Louis Sautier
commit: 529e398d4e699a066617923f34b5e548b04f64a2
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Oct  3 21:24:18 2018 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Wed Oct  3 21:38:51 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=529e398d

dev-python/flask-appconfig: add Python 3.7 support, missing doc dep

Also make tests verbose.

Signed-off-by: Louis Sautier  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild 
b/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
index 2e1c7689325..85f4e59c812 100644
--- a/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
+++ b/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} )
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} )
 
 inherit distutils-r1
 
@@ -24,7 +24,10 @@ RDEPEND="
 "
 DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
-   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+   doc? (
+   dev-python/alabaster[${PYTHON_USEDEP}]
+   dev-python/sphinx[${PYTHON_USEDEP}]
+   )
test? (
${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
@@ -46,5 +49,5 @@ python_compile_all() {
 }
 
 python_test() {
-   py.test || die "Tests failed with ${EPYTHON}"
+   pytest -vv || die "Tests failed with ${EPYTHON}"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-appconfig/

2018-06-22 Thread Louis Sautier
commit: b9216a6a97fec3e85999381075ef4b6724ceb80c
Author: Louis Sautier  gentoo  org>
AuthorDate: Sat Jun 23 01:31:54 2018 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Sat Jun 23 01:31:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9216a6a

dev-python/flask-appconfig: remove old

Closes: https://bugs.gentoo.org/589548
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../flask-appconfig/flask-appconfig-0.11.1.ebuild  | 51 --
 1 file changed, 51 deletions(-)

diff --git a/dev-python/flask-appconfig/flask-appconfig-0.11.1.ebuild 
b/dev-python/flask-appconfig/flask-appconfig-0.11.1.ebuild
deleted file mode 100644
index c543bd77e19..000
--- a/dev-python/flask-appconfig/flask-appconfig-0.11.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
-
-inherit distutils-r1
-
-DESCRIPTION="Configures Flask applications in a canonical way"
-HOMEPAGE="https://github.com/mbr/flask-appconfig;
-# PyPI tarballs don't include tests
-# https://github.com/mbr/flask-appconfig/pull/4
-SRC_URI="https://github.com/mbr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
-
-RDEPEND="
-   dev-python/click[${PYTHON_USEDEP}]
-   dev-python/flask[${PYTHON_USEDEP}]
-   dev-python/six[${PYTHON_USEDEP}]
-"
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest-runner[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
-   ${RDEPEND}
-   )
-   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
-"
-
-python_prepare_all() {
-   sed -i "s/, 'sphinx.ext.intersphinx'//" docs/conf.py || die
-   distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
-   use doc && emake -C docs html
-}
-
-python_test() {
-   py.test || die "Tests failed with ${EPYTHON}"
-}
-
-python_install_all() {
-   use doc && local HTML_DOCS=( docs/_build/html/. )
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-appconfig/

2018-06-19 Thread Louis Sautier
commit: 5f16bc2acda903e79d7ed27b6c2e0445f64fffd6
Author: Louis Sautier  gentoo  org>
AuthorDate: Tue Jun 19 21:37:25 2018 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Tue Jun 19 21:39:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f16bc2a

dev-python/flask-appconfig: Add Python 3.6, PyPy{,3}

Also remove useless depend on pytest-runner.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../flask-appconfig-0.11.1-r1.ebuild| 21 +
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild 
b/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
index 66d2f6d3518..2e1c7689325 100644
--- a/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
+++ b/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+EAPI=7
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} )
 
 inherit distutils-r1
 
@@ -24,12 +24,11 @@ RDEPEND="
 "
 DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? (
-   dev-python/pytest-runner[${PYTHON_USEDEP}]
-   dev-python/pytest[${PYTHON_USEDEP}]
${RDEPEND}
+   dev-python/pytest[${PYTHON_USEDEP}]
)
-   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
 "
 
 python_prepare_all() {
@@ -40,14 +39,12 @@ python_prepare_all() {
 }
 
 python_compile_all() {
-   use doc && emake -C docs html
+   if use doc; then
+   sphinx-build docs docs/_build/html || die
+   HTML_DOCS=( docs/_build/html/. )
+   fi
 }
 
 python_test() {
py.test || die "Tests failed with ${EPYTHON}"
 }
-
-python_install_all() {
-   use doc && local HTML_DOCS=( docs/_build/html/. )
-   distutils-r1_python_install_all
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-appconfig/

2016-07-25 Thread Patrice Clement
commit: 86ec43d13a409addd8ae8ef457442f40e864c1c3
Author: Louis Sautier  gmail  com>
AuthorDate: Sat Jul 23 20:21:52 2016 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Jul 25 13:22:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ec43d1

dev-python/flask-appconfig: stop installing scripts to prevent collision

The console script called 'flask' causes a collision with
dev-python/flask-0.11. Upstream already removed the console_scripts entry
point:
https://github.com/mbr/flask-appconfig/commit/42b1fe09dbd19cb7c48dfce7f505d7db7e6dd0be

Gentoo-Bug: https://bugs.gentoo.org/589548
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/1948

Signed-off-by: Patrice Clement  gentoo.org>

 .../flask-appconfig-0.11.1-r1.ebuild   | 54 ++
 1 file changed, 54 insertions(+)

diff --git a/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild 
b/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
new file mode 100644
index 000..a4d775e
--- /dev/null
+++ b/dev-python/flask-appconfig/flask-appconfig-0.11.1-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Configures Flask applications in a canonical way"
+HOMEPAGE="https://github.com/mbr/flask-appconfig;
+# PyPI tarballs don't include tests
+# https://github.com/mbr/flask-appconfig/pull/4
+SRC_URI="https://github.com/mbr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+   dev-python/click[${PYTHON_USEDEP}]
+   dev-python/flask[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest-runner[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   ${RDEPEND}
+   )
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+"
+
+python_prepare_all() {
+   sed -i "s/, 'sphinx.ext.intersphinx'//" docs/conf.py || die
+   # These conflict with recent flask versions, #589548
+   sed -i '/entry_points={/,/},$/d' setup.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   use doc && emake -C docs html
+}
+
+python_test() {
+   py.test || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+   use doc && local HTML_DOCS=( docs/_build/html/. )
+   distutils-r1_python_install_all
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/flask-appconfig/

2016-04-29 Thread Ian Delaney
commit: 9d3f2a04b078e76c7aad1b298cfc891f30fcda79
Author: Louis Sautier  gmail  com>
AuthorDate: Mon Apr 25 23:00:03 2016 +
Commit: Ian Delaney  gentoo  org>
CommitDate: Fri Apr 29 07:09:44 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d3f2a04

dev-python/flask-appconfig: new package, dependency of flask-bootstrap, vn. 
0.11.1

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1353

Signed-off-by: Ian Delaney  gentoo.org>

 dev-python/flask-appconfig/Manifest|  1 +
 .../flask-appconfig/flask-appconfig-0.11.1.ebuild  | 52 ++
 dev-python/flask-appconfig/metadata.xml| 17 +++
 3 files changed, 70 insertions(+)

diff --git a/dev-python/flask-appconfig/Manifest 
b/dev-python/flask-appconfig/Manifest
new file mode 100644
index 000..df31c4f
--- /dev/null
+++ b/dev-python/flask-appconfig/Manifest
@@ -0,0 +1 @@
+DIST flask-appconfig-0.11.1.tar.gz 14545 SHA256 
9869a752692e56f35ed3b017ea0e5b1d4b918a23bac8bc98a9e41ab54f5a9902 SHA512 
9ebc42be5ef247b1f14b85f7b65600a1595ecdc70e792c0cd495347254b07675a3b7a306df8d2f2663626ceafa4ce7700f6f26cd0f1bcd974ba6bbab293847ee
 WHIRLPOOL 
f59662f9e7ace02e1e8dfc1a0a99b40c0cc5a353782d925d71e528fecc73ffbcea2891f99c3a1d20900f5b4f4064be9981f04ec20519aa74e2f872e8167b7da3

diff --git a/dev-python/flask-appconfig/flask-appconfig-0.11.1.ebuild 
b/dev-python/flask-appconfig/flask-appconfig-0.11.1.ebuild
new file mode 100644
index 000..0c24d0f
--- /dev/null
+++ b/dev-python/flask-appconfig/flask-appconfig-0.11.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Configures Flask applications in a canonical way"
+HOMEPAGE="https://github.com/mbr/flask-appconfig;
+# PyPI tarballs don't include tests
+# https://github.com/mbr/flask-appconfig/pull/4
+SRC_URI="https://github.com/mbr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND="
+   dev-python/click[${PYTHON_USEDEP}]
+   dev-python/flask[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}]
+"
+DEPEND="
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest-runner[${PYTHON_USEDEP}]
+   dev-python/pytest[${PYTHON_USEDEP}]
+   ${RDEPEND}
+   )
+   doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+"
+
+python_prepare_all() {
+   sed -i "s/, 'sphinx.ext.intersphinx'//" docs/conf.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+   use doc && emake -C docs html
+}
+
+python_test() {
+   py.test || die "Tests failed with ${EPYTHON}"
+}
+
+python_install_all() {
+   use doc && local HTML_DOCS=( docs/_build/html/. )
+   distutils-r1_python_install_all
+}

diff --git a/dev-python/flask-appconfig/metadata.xml 
b/dev-python/flask-appconfig/metadata.xml
new file mode 100644
index 000..8639b4a
--- /dev/null
+++ b/dev-python/flask-appconfig/metadata.xml
@@ -0,0 +1,17 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   sautier.lo...@gmail.com
+   Louis Sautier
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   flask-appconfig
+   mbr/flask-appconfig
+   https://github.com/mbr/flask-appconfig/issues
+   
+