* [gentoo-commits] proj/sci:master commit in: dev-python/entrypoints/, dev-python/entrypoints/files/
@ 2016-05-17 11:59 Marius Brehler
0 siblings, 0 replies; 3+ messages in thread
From: Marius Brehler @ 2016-05-17 11:59 UTC (permalink / raw
To: gentoo-commits
commit: 21ab60e48dcc8fe2291a8d3b40fca314173115ca
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue May 17 11:06:40 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Tue May 17 11:06:40 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=21ab60e4
dev-python/entrypoints: New package, ebuild wirtten by me; required for nbconvert
Package-Manager: portage-2.2.28
dev-python/entrypoints/entrypoints-0.2.1.ebuild | 60 ++++++++++++++++++++++
.../files/entrypoints-0.2.1-init.py.patch | 8 +++
.../files/entrypoints-0.2.1-setup.py.patch | 20 ++++++++
dev-python/entrypoints/metadata.xml | 21 ++++++++
4 files changed, 109 insertions(+)
diff --git a/dev-python/entrypoints/entrypoints-0.2.1.ebuild b/dev-python/entrypoints/entrypoints-0.2.1.ebuild
new file mode 100644
index 0000000..02cc4b7
--- /dev/null
+++ b/dev-python/entrypoints/entrypoints-0.2.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Discover and load entry points from installed packages"
+HOMEPAGE="https://github.com/takluyver/entrypoints"
+SRC_URI="https://github.com//takluyver/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+DEPEND="
+ $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ virtual/python-pathlib[${PYTHON_USEDEP}]
+ )
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ "
+
+PATCHES=(
+ "${FILESDIR}/${P}"-setup.py.patch
+ "${FILESDIR}/${P}"-init.py.patch
+)
+
+python_prepare_all() {
+
+ # Prevent un-needed download during build
+ if use doc; then
+ sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die
+ fi
+
+ distutils-r1_python_prepare_all
+
+ mv "${WORKDIR}/${P}"/entrypoints.py "${WORKDIR}/${P}/${PN}/" || die
+}
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_install_all() {
+ use doc && HTML_DOCS=( doc/_build/html/. )
+ distutils-r1_python_install_all
+ }
+
+python_test() {
+ distutils_install_for_testing
+ cd "${TEST_DIR}"/lib || die
+ cp -r "${S}"/tests "${TEST_DIR}"/lib/ || die
+ py.test || die
+}
diff --git a/dev-python/entrypoints/files/entrypoints-0.2.1-init.py.patch b/dev-python/entrypoints/files/entrypoints-0.2.1-init.py.patch
new file mode 100644
index 0000000..b9d30ed
--- /dev/null
+++ b/dev-python/entrypoints/files/entrypoints-0.2.1-init.py.patch
@@ -0,0 +1,8 @@
+__init__.py for entrypoints by Marius Brehler <marbre@linux.sungazer.de>.
+
+Patch by Marius Brehler <marbrbre@linux.sungazer.de>.
+--- /dev/null
++++ entrypoints/__init__.py
+@@ -0,0 +1 @@
++from .entrypoints import *
+\ No newline at end of file
diff --git a/dev-python/entrypoints/files/entrypoints-0.2.1-setup.py.patch b/dev-python/entrypoints/files/entrypoints-0.2.1-setup.py.patch
new file mode 100644
index 0000000..27983fd
--- /dev/null
+++ b/dev-python/entrypoints/files/entrypoints-0.2.1-setup.py.patch
@@ -0,0 +1,20 @@
+setup.py for entrypoints by Marius Brehler <marbre@linux.sungazer.de>.
+
+Patch by Marius Brehler <marbrbre@linux.sungazer.de>.
+--- /dev/null
++++ setup.py
+@@ -0,0 +1,13 @@
++from distutils.core import setup
++
++setup(name='entrypoints',
++ version='0.2.1',
++ description='Discover and load entry points from installed packages.',
++ author='Thomas Kluyver',
++ author_email='thomas@kluyver.me.uk',
++ url='https://github.com/takluyver/entrypoints',
++ packages=['entrypoints'],
++ classifiers=[
++ 'License :: OSI Approved :: MIT License'
++ ]
++)
+\ No newline at end of file
diff --git a/dev-python/entrypoints/metadata.xml b/dev-python/entrypoints/metadata.xml
new file mode 100644
index 0000000..acbfe4f
--- /dev/null
+++ b/dev-python/entrypoints/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marbre@linux.sungazer.de</email>
+ <name>Marius Brehler</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription>
+ Entry points are a way for Python packages to advertise objects with
+ some common interface. The most common examples are console_scripts
+ entry points, which define shell commands by identifying a Python
+ function to run.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">takluyver/testpath</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/entrypoints/, dev-python/entrypoints/files/
@ 2016-05-17 12:49 Marius Brehler
0 siblings, 0 replies; 3+ messages in thread
From: Marius Brehler @ 2016-05-17 12:49 UTC (permalink / raw
To: gentoo-commits
commit: c14e62077579eccbb5fb493f924a388c30f8d488
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue May 17 12:47:57 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Tue May 17 12:47:57 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c14e6207
dev-python/entrypoints: Bump to EAPI=6
Package-Manager: portage-2.2.28
dev-python/entrypoints/entrypoints-0.2.1.ebuild | 2 +-
dev-python/entrypoints/files/entrypoints-0.2.1-init.py.patch | 2 +-
dev-python/entrypoints/files/entrypoints-0.2.1-setup.py.patch | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-python/entrypoints/entrypoints-0.2.1.ebuild b/dev-python/entrypoints/entrypoints-0.2.1.ebuild
index 02cc4b7..1c91588 100644
--- a/dev-python/entrypoints/entrypoints-0.2.1.ebuild
+++ b/dev-python/entrypoints/entrypoints-0.2.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
diff --git a/dev-python/entrypoints/files/entrypoints-0.2.1-init.py.patch b/dev-python/entrypoints/files/entrypoints-0.2.1-init.py.patch
index b9d30ed..8561900 100644
--- a/dev-python/entrypoints/files/entrypoints-0.2.1-init.py.patch
+++ b/dev-python/entrypoints/files/entrypoints-0.2.1-init.py.patch
@@ -2,7 +2,7 @@ __init__.py for entrypoints by Marius Brehler <marbre@linux.sungazer.de>.
Patch by Marius Brehler <marbrbre@linux.sungazer.de>.
--- /dev/null
-+++ entrypoints/__init__.py
++++ ${WORKDIR}/entrypoints/__init__.py
@@ -0,0 +1 @@
+from .entrypoints import *
\ No newline at end of file
diff --git a/dev-python/entrypoints/files/entrypoints-0.2.1-setup.py.patch b/dev-python/entrypoints/files/entrypoints-0.2.1-setup.py.patch
index 27983fd..fc7ae11 100644
--- a/dev-python/entrypoints/files/entrypoints-0.2.1-setup.py.patch
+++ b/dev-python/entrypoints/files/entrypoints-0.2.1-setup.py.patch
@@ -2,7 +2,7 @@ setup.py for entrypoints by Marius Brehler <marbre@linux.sungazer.de>.
Patch by Marius Brehler <marbrbre@linux.sungazer.de>.
--- /dev/null
-+++ setup.py
++++ ${WORKDIR}/setup.py
@@ -0,0 +1,13 @@
+from distutils.core import setup
+
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/entrypoints/, dev-python/entrypoints/files/
@ 2016-05-23 6:59 Marius Brehler
0 siblings, 0 replies; 3+ messages in thread
From: Marius Brehler @ 2016-05-23 6:59 UTC (permalink / raw
To: gentoo-commits
commit: 8470dcdeb73cbcb16f25d1b2b7f85e3aa63c7ecd
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Fri May 20 06:44:15 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Fri May 20 06:44:15 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=8470dcde
dev-python/entrypoints: Moved to tree
dev-python/entrypoints/entrypoints-0.2.1.ebuild | 60 ----------------------
.../files/entrypoints-0.2.1-init.py.patch | 8 ---
.../files/entrypoints-0.2.1-setup.py.patch | 20 --------
dev-python/entrypoints/metadata.xml | 21 --------
4 files changed, 109 deletions(-)
diff --git a/dev-python/entrypoints/entrypoints-0.2.1.ebuild b/dev-python/entrypoints/entrypoints-0.2.1.ebuild
deleted file mode 100644
index 1c91588..0000000
--- a/dev-python/entrypoints/entrypoints-0.2.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
-
-inherit distutils-r1
-
-DESCRIPTION="Discover and load entry points from installed packages"
-HOMEPAGE="https://github.com/takluyver/entrypoints"
-SRC_URI="https://github.com//takluyver/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc test"
-
-DEPEND="
- $(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- virtual/python-pathlib[${PYTHON_USEDEP}]
- )
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- "
-
-PATCHES=(
- "${FILESDIR}/${P}"-setup.py.patch
- "${FILESDIR}/${P}"-init.py.patch
-)
-
-python_prepare_all() {
-
- # Prevent un-needed download during build
- if use doc; then
- sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die
- fi
-
- distutils-r1_python_prepare_all
-
- mv "${WORKDIR}/${P}"/entrypoints.py "${WORKDIR}/${P}/${PN}/" || die
-}
-
-python_compile_all() {
- use doc && emake -C doc html
-}
-
-python_install_all() {
- use doc && HTML_DOCS=( doc/_build/html/. )
- distutils-r1_python_install_all
- }
-
-python_test() {
- distutils_install_for_testing
- cd "${TEST_DIR}"/lib || die
- cp -r "${S}"/tests "${TEST_DIR}"/lib/ || die
- py.test || die
-}
diff --git a/dev-python/entrypoints/files/entrypoints-0.2.1-init.py.patch b/dev-python/entrypoints/files/entrypoints-0.2.1-init.py.patch
deleted file mode 100644
index 40d5d82..0000000
--- a/dev-python/entrypoints/files/entrypoints-0.2.1-init.py.patch
+++ /dev/null
@@ -1,8 +0,0 @@
-__init__.py for entrypoints by Marius Brehler <marbre@linux.sungazer.de>.
-
-Patch by Marius Brehler <marbrbre@linux.sungazer.de>.
---- /dev/null
-+++ b/entrypoints/__init__.py
-@@ -0,0 +1 @@
-+from .entrypoints import *
-\ No newline at end of file
diff --git a/dev-python/entrypoints/files/entrypoints-0.2.1-setup.py.patch b/dev-python/entrypoints/files/entrypoints-0.2.1-setup.py.patch
deleted file mode 100644
index 9878685..0000000
--- a/dev-python/entrypoints/files/entrypoints-0.2.1-setup.py.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-setup.py for entrypoints by Marius Brehler <marbre@linux.sungazer.de>.
-
-Patch by Marius Brehler <marbrbre@linux.sungazer.de>.
---- /dev/null
-+++ b/setup.py
-@@ -0,0 +1,13 @@
-+from distutils.core import setup
-+
-+setup(name='entrypoints',
-+ version='0.2.1',
-+ description='Discover and load entry points from installed packages.',
-+ author='Thomas Kluyver',
-+ author_email='thomas@kluyver.me.uk',
-+ url='https://github.com/takluyver/entrypoints',
-+ packages=['entrypoints'],
-+ classifiers=[
-+ 'License :: OSI Approved :: MIT License'
-+ ]
-+)
-\ No newline at end of file
diff --git a/dev-python/entrypoints/metadata.xml b/dev-python/entrypoints/metadata.xml
deleted file mode 100644
index acbfe4f..0000000
--- a/dev-python/entrypoints/metadata.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>marbre@linux.sungazer.de</email>
- <name>Marius Brehler</name>
- </maintainer>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription>
- Entry points are a way for Python packages to advertise objects with
- some common interface. The most common examples are console_scripts
- entry points, which define shell commands by identifying a Python
- function to run.
- </longdescription>
- <upstream>
- <remote-id type="github">takluyver/testpath</remote-id>
- </upstream>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-23 6:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-17 11:59 [gentoo-commits] proj/sci:master commit in: dev-python/entrypoints/, dev-python/entrypoints/files/ Marius Brehler
-- strict thread matches above, loose matches on Subject: below --
2016-05-17 12:49 Marius Brehler
2016-05-23 6:59 Marius Brehler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox