diff options
author | Mike Gilbert <floppym@gentoo.org> | 2016-09-24 10:43:44 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2016-09-24 10:44:23 -0400 |
commit | e347edb88a197d553592cb1a7107a84d92443ea9 (patch) | |
tree | eadbc4e3d0432ee28cedeb601d5f5402250144e6 /dev-python/packaging/packaging-16.1.ebuild | |
parent | net-analyzer/zabbix: add Maintainer (diff) | |
download | gentoo-e347edb88a197d553592cb1a7107a84d92443ea9.tar.gz gentoo-e347edb88a197d553592cb1a7107a84d92443ea9.tar.bz2 gentoo-e347edb88a197d553592cb1a7107a84d92443ea9.zip |
dev-python/packaging: drop pkg_preinst
https://bugs.gentoo.org/574002
Package-Manager: portage-2.3.1_p4
Diffstat (limited to 'dev-python/packaging/packaging-16.1.ebuild')
-rw-r--r-- | dev-python/packaging/packaging-16.1.ebuild | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/dev-python/packaging/packaging-16.1.ebuild b/dev-python/packaging/packaging-16.1.ebuild index 26279ce494d2..87a84a8e1157 100644 --- a/dev-python/packaging/packaging-16.1.ebuild +++ b/dev-python/packaging/packaging-16.1.ebuild @@ -32,16 +32,3 @@ PDEPEND=" python_test() { py.test --capture=no --strict -v || die } - -pkg_preinst() { - # Remove this in the next version bump - _cleanup() { - local pyver=$("${PYTHON}" -c "from distutils.sysconfig import get_python_version; print(get_python_version())") - local egginfo="${ROOT%/}$(python_get_sitedir)/${P}-py${pyver}.egg-info" - if [[ -d ${egginfo} ]]; then - echo rm -r "${egginfo}" - rm -r "${egginfo}" || die "Failed to remove egg-info directory" - fi - } - python_foreach_impl _cleanup -} |