* [gentoo-commits] proj/sci:master commit in: dev-python/testpath/files/, dev-python/testpath/
@ 2016-06-28 12:59 Marius Brehler
0 siblings, 0 replies; 2+ messages in thread
From: Marius Brehler @ 2016-06-28 12:59 UTC (permalink / raw
To: gentoo-commits
commit: 88aec801f09ef673e737461b49adc8e9b1d71772
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Jun 28 12:57:10 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Tue Jun 28 12:57:10 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=88aec801
dev-python/testpath: Bump to EAPI=6
Package-Manager: portage-2.2.28
dev-python/testpath/files/testpath-0.2-setup.py.patch | 4 ++--
dev-python/testpath/testpath-9999.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev-python/testpath/files/testpath-0.2-setup.py.patch b/dev-python/testpath/files/testpath-0.2-setup.py.patch
index 065e8e5..1dc73e7 100644
--- a/dev-python/testpath/files/testpath-0.2-setup.py.patch
+++ b/dev-python/testpath/files/testpath-0.2-setup.py.patch
@@ -1,7 +1,7 @@
Patch to bring back setup.py from
https://github.com/jupyter/testpath/blob/086bd1bd1ec7da1b3dacfed1705c0c99fae231b3/setup.py
--- /dev/null
-+++ setup.py
++++ b/setup.py
@@ -0,0 +1,22 @@
+from distutils.core import setup
+
@@ -9,7 +9,7 @@ https://github.com/jupyter/testpath/blob/086bd1bd1ec7da1b3dacfed1705c0c99fae231b
+ readme = f.read()
+
+setup(name='testpath',
-+ version='0.1',
++ version='0.3',
+ description='Test utilities for code working with files and commands',
+ long_description = readme,
+ author='Thomas Kluyver',
diff --git a/dev-python/testpath/testpath-9999.ebuild b/dev-python/testpath/testpath-9999.ebuild
index 90b4b70..a09e256 100644
--- a/dev-python/testpath/testpath-9999.ebuild
+++ b/dev-python/testpath/testpath-9999.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/testpath/files/, dev-python/testpath/
@ 2020-09-21 23:48 Aisha Tammy
0 siblings, 0 replies; 2+ messages in thread
From: Aisha Tammy @ 2020-09-21 23:48 UTC (permalink / raw
To: gentoo-commits
commit: 1146b55825d97aaae9c71c58ff6cd648479c4fec
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Mon Sep 21 23:47:35 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Mon Sep 21 23:47:47 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1146b558
dev-python/testpath: drop package
present in ::gentoo
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
.../testpath/files/testpath-0.2-setup.py.patch | 28 ------------
dev-python/testpath/metadata.xml | 14 ------
dev-python/testpath/testpath-9999.ebuild | 53 ----------------------
3 files changed, 95 deletions(-)
diff --git a/dev-python/testpath/files/testpath-0.2-setup.py.patch b/dev-python/testpath/files/testpath-0.2-setup.py.patch
deleted file mode 100644
index 1dc73e77a..000000000
--- a/dev-python/testpath/files/testpath-0.2-setup.py.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Patch to bring back setup.py from
-https://github.com/jupyter/testpath/blob/086bd1bd1ec7da1b3dacfed1705c0c99fae231b3/setup.py
---- /dev/null
-+++ b/setup.py
-@@ -0,0 +1,22 @@
-+from distutils.core import setup
-+
-+with open("README.rst", "r") as f:
-+ readme = f.read()
-+
-+setup(name='testpath',
-+ version='0.3',
-+ description='Test utilities for code working with files and commands',
-+ long_description = readme,
-+ author='Thomas Kluyver',
-+ author_email='thomas@kluyver.me.uk',
-+ url='https://github.com/takluyver/testpath',
-+ packages=['testpath'],
-+ classifiers=[
-+ 'Intended Audience :: Developers',
-+ 'License :: OSI Approved :: MIT License',
-+ 'Programming Language :: Python',
-+ 'Programming Language :: Python :: 2',
-+ 'Programming Language :: Python :: 3',
-+ 'Topic :: Software Development :: Testing',
-+ ]
-+)
-\ No newline at end of file
diff --git a/dev-python/testpath/metadata.xml b/dev-python/testpath/metadata.xml
deleted file mode 100644
index 8129b08bc..000000000
--- a/dev-python/testpath/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription>
-Testpath is a collection of utilities for Python code working with
-files and commands. It contains functions to check things on the
-filesystem, and tools for mocking system commands and recording
-calls to those.
-</longdescription>
-</pkgmetadata>
diff --git a/dev-python/testpath/testpath-9999.ebuild b/dev-python/testpath/testpath-9999.ebuild
deleted file mode 100644
index 70fcabfd1..000000000
--- a/dev-python/testpath/testpath-9999.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
-
-inherit distutils-r1 git-r3
-
-DESCRIPTION="Test utilities for code working with files and commands"
-HOMEPAGE="http://jupyter.org"
-EGIT_REPO_URI="https://github.com/jupyter/${PN}.git git://github.com/jupyter/${PN}.git"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc test"
-
-DEPEND="
- test? (
- dev-python/pytest[${PYTHON_USEDEP}]
- virtual/python-pathlib[${PYTHON_USEDEP}]
- )
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- "
-
-PATCHES=(
- "${FILESDIR}/${PN}"-0.2-setup.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
-}
-
-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
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-21 23:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-21 23:48 [gentoo-commits] proj/sci:master commit in: dev-python/testpath/files/, dev-python/testpath/ Aisha Tammy
-- strict thread matches above, loose matches on Subject: below --
2016-06-28 12: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