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='tho...@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>s...@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
-}

Reply via email to