1
0
mirror of synced 2024-12-22 21:00:20 +01:00

Better dealing with namespace module

This commit is contained in:
Horea Christian 2018-10-07 02:27:44 +02:00
parent 6f403ba6c3
commit 7964081cca
2 changed files with 7 additions and 5 deletions

View File

@ -1 +1 @@
DIST svg-path-3.0.tar.gz 17077 BLAKE2B 6fdb51c982575639337d74a6f02f0bb3cc44dac56bd6982dec6493bed52d9caab5ed725ac59bf754f309cc62ef6f77faec462afacc8f93ce9a20b886ef2b5c8e SHA512 73d23f1386bbd4d1c1d805766f7e6fe6f8b7ac731e104020e7d853d7f1b46bc2681f44ef20d9c5343197d9d16b2af49f2c4ef4ba5945f4d25fa0493502203e13
DIST svg-path-3.0.tar.gz 17077 SHA256 4cba1904378b3587132bb454f70d43e8f6c98d3f33e346111d1dc4de88cf5022 SHA512 73d23f1386bbd4d1c1d805766f7e6fe6f8b7ac731e104020e7d853d7f1b46bc2681f44ef20d9c5343197d9d16b2af49f2c4ef4ba5945f4d25fa0493502203e13 WHIRLPOOL d330db5a918b365ed6cfb2485ead33227631632a5391503e9313c924b16c8136c90fcaaa07edcb470c51c08ca81a2469511f9e08eef0bedb6386ba3bfa3099cf

View File

@ -3,7 +3,7 @@
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6} )
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
inherit distutils-r1
@ -23,11 +23,13 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}"
MODNAME="svg"
python_test() {
${EPYTHON} setup.py test || die
}
python_install() {
distutils-r1_python_install_all
find "${ED}" -name '*.pth' -delete || die
src_install() {
cd src
python_foreach_impl python_domodule ${MODNAME}
}