summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2018-03-09 11:22:41 -0600
committerMatthew Thode <prometheanfire@gentoo.org>2018-03-09 11:58:44 -0600
commit25a5bf5a20f8d3f4323eef363cdd270325497c0a (patch)
tree6d822fd91d27045470d45a9cc2d01234229a0588
parentapp-admin/salt: updating for msgpack rename (from msgpack-python) (diff)
downloadgentoo-25a5bf5a20f8d3f4323eef363cdd270325497c0a.tar.gz
gentoo-25a5bf5a20f8d3f4323eef363cdd270325497c0a.tar.bz2
gentoo-25a5bf5a20f8d3f4323eef363cdd270325497c0a.zip
app-backup/attic: allow use of renamed msgpack
Package-Manager: Portage-2.3.19, Repoman-2.3.6
-rw-r--r--app-backup/attic/attic-0.16-r1.ebuild (renamed from app-backup/attic/attic-0.16.ebuild)8
-rw-r--r--app-backup/attic/attic-9999.ebuild8
2 files changed, 14 insertions, 2 deletions
diff --git a/app-backup/attic/attic-0.16.ebuild b/app-backup/attic/attic-0.16-r1.ebuild
index faaffb46778..3959eafcf9d 100644
--- a/app-backup/attic/attic-0.16.ebuild
+++ b/app-backup/attic/attic-0.16-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -32,3 +32,9 @@ DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
${RDEPEND}"
+
+python_prepare_all() {
+ # allow use of new (renamed) msgpack
+ sed -i '/msgpack/d' setup.py || die
+ distutils-r1_python_prepare_all
+}
diff --git a/app-backup/attic/attic-9999.ebuild b/app-backup/attic/attic-9999.ebuild
index faaffb46778..3959eafcf9d 100644
--- a/app-backup/attic/attic-9999.ebuild
+++ b/app-backup/attic/attic-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
@@ -32,3 +32,9 @@ DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/cython[${PYTHON_USEDEP}]
${RDEPEND}"
+
+python_prepare_all() {
+ # allow use of new (renamed) msgpack
+ sed -i '/msgpack/d' setup.py || die
+ distutils-r1_python_prepare_all
+}