app-backup/attic: allow use of renamed msgpack
authorMatthew Thode <prometheanfire@gentoo.org>
Fri, 9 Mar 2018 17:22:41 +0000 (11:22 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Fri, 9 Mar 2018 17:58:44 +0000 (11:58 -0600)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-backup/attic/attic-0.16-r1.ebuild [moved from app-backup/attic/attic-0.16.ebuild with 81% similarity]
app-backup/attic/attic-9999.ebuild

similarity index 81%
rename from app-backup/attic/attic-0.16.ebuild
rename to app-backup/attic/attic-0.16-r1.ebuild
index faaffb46778a6007fc1de5348129ec327a73b613..3959eafcf9d1cb1c8f91d595c7d18ec3926c0c29 100644 (file)
@@ -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
+}
index faaffb46778a6007fc1de5348129ec327a73b613..3959eafcf9d1cb1c8f91d595c7d18ec3926c0c29 100644 (file)
@@ -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
+}