From e7135ebb9b7ff1eb30386794ae563b5cbc415bd5 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Thu, 16 Feb 2017 05:12:59 +0100 Subject: [PATCH] dev-python/catkin_pkg: Remove argparse dep from setup.py Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- ...n_pkg-0.3.1.ebuild => catkin_pkg-0.3.1-r1.ebuild} | 2 +- dev-python/catkin_pkg/catkin_pkg-9999.ebuild | 2 +- dev-python/catkin_pkg/files/argparse.patch | 12 ++++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) rename dev-python/catkin_pkg/{catkin_pkg-0.3.1.ebuild => catkin_pkg-0.3.1-r1.ebuild} (93%) create mode 100644 dev-python/catkin_pkg/files/argparse.patch diff --git a/dev-python/catkin_pkg/catkin_pkg-0.3.1.ebuild b/dev-python/catkin_pkg/catkin_pkg-0.3.1-r1.ebuild similarity index 93% rename from dev-python/catkin_pkg/catkin_pkg-0.3.1.ebuild rename to dev-python/catkin_pkg/catkin_pkg-0.3.1-r1.ebuild index fbc5d3f2d01c..ce8fd6d9c5b6 100644 --- a/dev-python/catkin_pkg/catkin_pkg-0.3.1.ebuild +++ b/dev-python/catkin_pkg/catkin_pkg-0.3.1-r1.ebuild @@ -37,7 +37,7 @@ RDEPEND=" DEPEND="${RDEPEND} test? ( dev-python/mock[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] ) " -PATCHES=( "${FILESDIR}/catkin_prefix.patch" ) +PATCHES=( "${FILESDIR}/catkin_prefix.patch" "${FILESDIR}/argparse.patch" ) python_test() { nosetests -s --tests test || die diff --git a/dev-python/catkin_pkg/catkin_pkg-9999.ebuild b/dev-python/catkin_pkg/catkin_pkg-9999.ebuild index fbc5d3f2d01c..ce8fd6d9c5b6 100644 --- a/dev-python/catkin_pkg/catkin_pkg-9999.ebuild +++ b/dev-python/catkin_pkg/catkin_pkg-9999.ebuild @@ -37,7 +37,7 @@ RDEPEND=" DEPEND="${RDEPEND} test? ( dev-python/mock[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] ) " -PATCHES=( "${FILESDIR}/catkin_prefix.patch" ) +PATCHES=( "${FILESDIR}/catkin_prefix.patch" "${FILESDIR}/argparse.patch" ) python_test() { nosetests -s --tests test || die diff --git a/dev-python/catkin_pkg/files/argparse.patch b/dev-python/catkin_pkg/files/argparse.patch new file mode 100644 index 000000000000..f39df4a40565 --- /dev/null +++ b/dev-python/catkin_pkg/files/argparse.patch @@ -0,0 +1,12 @@ +Index: catkin_pkg-0.3.1/setup.py +=================================================================== +--- catkin_pkg-0.3.1.orig/setup.py ++++ catkin_pkg-0.3.1/setup.py +@@ -31,7 +31,6 @@ kwargs = { + 'long_description': 'Library for retrieving information about catkin packages.', + 'license': 'BSD', + 'install_requires': [ +- 'argparse', + 'docutils', + 'python-dateutil' + ], -- 2.26.2