* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyspelling/files/, dev-python/pyspelling/
@ 2020-03-28 11:00 Andrew Ammerlaan
2020-03-28 11:08 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Ammerlaan @ 2020-03-28 11:00 UTC (permalink / raw
To: gentoo-commits
commit: 2f54ca54d25be97128bbc63446a5e93ee0b1f5c9
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar 28 10:22:49 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar 28 11:00:12 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f54ca54
dev-python/pyspelling: workaround installing test issue
https://github.com/facelessuser/pyspelling/issues/104
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
.../pyspelling-2.6.0-do-not-install-tests.patch | 11 ++++++++
dev-python/pyspelling/pyspelling-2.6.0.ebuild | 30 ++++++++++++++++++----
2 files changed, 36 insertions(+), 5 deletions(-)
diff --git a/dev-python/pyspelling/files/pyspelling-2.6.0-do-not-install-tests.patch b/dev-python/pyspelling/files/pyspelling-2.6.0-do-not-install-tests.patch
new file mode 100644
index 0000000..ac8cc6d
--- /dev/null
+++ b/dev-python/pyspelling/files/pyspelling-2.6.0-do-not-install-tests.patch
@@ -0,0 +1,11 @@
+--- a/setup.py 2020-03-28 09:44:36.634469819 +0100
++++ b/setup.py_fix 2020-03-28 09:48:38.754477130 +0100
+@@ -59,7 +59,7 @@
+ author='Isaac Muse',
+ author_email='Isaac.Muse@gmail.com',
+ url='https://github.com/facelessuser/pyspelling',
+- packages=find_packages(exclude=['tests', 'tools']),
++ packages=find_packages(exclude=('tests*', 'tools*')),
+ entry_points=entry_points,
+ install_requires=get_requirements(),
+ license='MIT License',
diff --git a/dev-python/pyspelling/pyspelling-2.6.0.ebuild b/dev-python/pyspelling/pyspelling-2.6.0.ebuild
index 43ae951..02fcf91 100644
--- a/dev-python/pyspelling/pyspelling-2.6.0.ebuild
+++ b/dev-python/pyspelling/pyspelling-2.6.0.ebuild
@@ -3,17 +3,31 @@
EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Spell checker automation tool"
HOMEPAGE="https://github.com/facelessuser/pyspelling"
SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+#IUSE="doc"
+
+# Need mkdocs-1.1 for this
+#BDEPEND="
+# doc? (
+# dev-python/mkdocs-git-revision-date-localized-plugin
+# dev-python/mkdocs_pymdownx_material_extras
+# ~dev-python/mkdocs-material-5.0.0_rc2
+# )
+#"
+
RDEPEND="
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
@@ -23,9 +37,15 @@ RDEPEND="
>=dev-python/soupsieve-1.8[${PYTHON_USEDEP}]
>=dev-python/wcmatch-4.0[${PYTHON_USEDEP}]
"
-DEPEND="${RDEPEND}"
+
+PATCHES="${FILESDIR}/${P}-do-not-install-tests.patch"
distutils_enable_tests pytest
-distutils_enable_sphinx docs/src \
- dev-python/mkdocs-git-revision-date-localized-plugin \
- dev-python/mkdocs_pymdownx_material_extras
+
+#python_compile_all() {
+# default
+# if use doc; then
+# mkdocs build || die "failed to make docs"
+# HTML_DOCS="site"
+# fi
+#}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/pyspelling/files/, dev-python/pyspelling/
2020-03-28 11:00 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyspelling/files/, dev-python/pyspelling/ Andrew Ammerlaan
@ 2020-03-28 11:08 ` Andrew Ammerlaan
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2020-03-28 11:08 UTC (permalink / raw
To: gentoo-commits
commit: 2f54ca54d25be97128bbc63446a5e93ee0b1f5c9
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar 28 10:22:49 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar 28 11:00:12 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f54ca54
dev-python/pyspelling: workaround installing test issue
https://github.com/facelessuser/pyspelling/issues/104
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
.../pyspelling-2.6.0-do-not-install-tests.patch | 11 ++++++++
dev-python/pyspelling/pyspelling-2.6.0.ebuild | 30 ++++++++++++++++++----
2 files changed, 36 insertions(+), 5 deletions(-)
diff --git a/dev-python/pyspelling/files/pyspelling-2.6.0-do-not-install-tests.patch b/dev-python/pyspelling/files/pyspelling-2.6.0-do-not-install-tests.patch
new file mode 100644
index 0000000..ac8cc6d
--- /dev/null
+++ b/dev-python/pyspelling/files/pyspelling-2.6.0-do-not-install-tests.patch
@@ -0,0 +1,11 @@
+--- a/setup.py 2020-03-28 09:44:36.634469819 +0100
++++ b/setup.py_fix 2020-03-28 09:48:38.754477130 +0100
+@@ -59,7 +59,7 @@
+ author='Isaac Muse',
+ author_email='Isaac.Muse@gmail.com',
+ url='https://github.com/facelessuser/pyspelling',
+- packages=find_packages(exclude=['tests', 'tools']),
++ packages=find_packages(exclude=('tests*', 'tools*')),
+ entry_points=entry_points,
+ install_requires=get_requirements(),
+ license='MIT License',
diff --git a/dev-python/pyspelling/pyspelling-2.6.0.ebuild b/dev-python/pyspelling/pyspelling-2.6.0.ebuild
index 43ae951..02fcf91 100644
--- a/dev-python/pyspelling/pyspelling-2.6.0.ebuild
+++ b/dev-python/pyspelling/pyspelling-2.6.0.ebuild
@@ -3,17 +3,31 @@
EAPI=7
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Spell checker automation tool"
HOMEPAGE="https://github.com/facelessuser/pyspelling"
SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+#IUSE="doc"
+
+# Need mkdocs-1.1 for this
+#BDEPEND="
+# doc? (
+# dev-python/mkdocs-git-revision-date-localized-plugin
+# dev-python/mkdocs_pymdownx_material_extras
+# ~dev-python/mkdocs-material-5.0.0_rc2
+# )
+#"
+
RDEPEND="
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
@@ -23,9 +37,15 @@ RDEPEND="
>=dev-python/soupsieve-1.8[${PYTHON_USEDEP}]
>=dev-python/wcmatch-4.0[${PYTHON_USEDEP}]
"
-DEPEND="${RDEPEND}"
+
+PATCHES="${FILESDIR}/${P}-do-not-install-tests.patch"
distutils_enable_tests pytest
-distutils_enable_sphinx docs/src \
- dev-python/mkdocs-git-revision-date-localized-plugin \
- dev-python/mkdocs_pymdownx_material_extras
+
+#python_compile_all() {
+# default
+# if use doc; then
+# mkdocs build || die "failed to make docs"
+# HTML_DOCS="site"
+# fi
+#}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-28 11:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-28 11:00 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyspelling/files/, dev-python/pyspelling/ Andrew Ammerlaan
2020-03-28 11:08 ` [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