diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-25 11:37:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-25 11:37:10 +0100 |
commit | 38423c67c8a23f6a1bc42038193182e2da3116eb (patch) | |
tree | 04e2cf4bd43601b77daa79fe654e409187093c5e /sci-electronics/klayout/klayout-9999.ebuild | |
parent | 623ee73d661e5ed8475cb264511f683407d87365 (diff) |
gentoo resync : 25.04.2020
Diffstat (limited to 'sci-electronics/klayout/klayout-9999.ebuild')
-rw-r--r-- | sci-electronics/klayout/klayout-9999.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sci-electronics/klayout/klayout-9999.ebuild b/sci-electronics/klayout/klayout-9999.ebuild index 127d36ffb70f..30250478884e 100644 --- a/sci-electronics/klayout/klayout-9999.ebuild +++ b/sci-electronics/klayout/klayout-9999.ebuild @@ -1,13 +1,13 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 RUBY_OPTIONAL=no USE_RUBY="ruby25" # note: define maximally ONE implementation here -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit toolchain-funcs python-single-r1 ruby-ng @@ -78,7 +78,13 @@ each_ruby_install() { cd "${T}/bin" || die dodir "/usr/$(get_libdir)/klayout" - mv lib* "${ED}/usr/$(get_libdir)/klayout/" || die + mv lib* lay_plugins db_plugins "${ED}/usr/$(get_libdir)/klayout/" || die + + mkdir -p "${D}/$(python_get_sitedir)" || die + mv pymod/* "${D}/$(python_get_sitedir)/" || die + rmdir pymod || die dobin * + + python_optimize } |