diff options
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/drahnr-oregano/drahnr-oregano-0.84.40.ebuild | 42 |
1 files changed, 16 insertions, 26 deletions
diff --git a/sci-electronics/drahnr-oregano/drahnr-oregano-0.84.40.ebuild b/sci-electronics/drahnr-oregano/drahnr-oregano-0.84.40.ebuild index a432282c92f1..d07c379b648f 100644 --- a/sci-electronics/drahnr-oregano/drahnr-oregano-0.84.40.ebuild +++ b/sci-electronics/drahnr-oregano/drahnr-oregano-0.84.40.ebuild @@ -1,11 +1,12 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -PYTHON_COMPAT=( python3_7 ) +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) PYTHON_REQ_USE='threads(+)' -inherit gnome2-utils python-any-r1 waf-utils xdg-utils +inherit python-any-r1 waf-utils xdg DESCRIPTION="Application for the schematic capturing and simulation of electrical circuits" HOMEPAGE="https://github.com/drahnr/oregano" @@ -17,29 +18,28 @@ KEYWORDS="amd64 ppc x86" S="${WORKDIR}/oregano-${PV}" -COMMON_DEP="dev-libs/glib:2 +DEPEND=" + dev-libs/glib:2 dev-libs/libxml2:2 x11-libs/goocanvas:2.0 x11-libs/gtk+:3 x11-libs/gtksourceview:3.0" -DEPEND="${COMMON_DEP} - ${PYTHON_DEPS} +BDEPEND="${PYTHON_DEPS} dev-util/glib-utils virtual/pkgconfig" -RDEPEND="${COMMON_DEP} - || ( gnome-base/dconf gnome-base/gconf ) +RDEPEND="${DEPEND} + || ( + gnome-base/dconf + gnome-base/gconf + ) sci-electronics/electronics-menu" -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] ; then - python-any-r1_pkg_setup - fi +src_configure() { + waf-utils_src_configure } -src_configure() { waf-utils_src_configure; } - src_install() { waf-utils_src_install --no-xdg --no-install-gschema docompress -x /usr/share/doc/${PF}/{dev-docs,sequence} @@ -49,10 +49,7 @@ src_install() { } pkg_postinst() { - gnome2_icon_cache_update - gnome2_schemas_update - xdg_desktop_database_update - xdg_mimeinfo_database_update + xdg_pkg_postinst elog "Note: You'll need to emerge your prefered simulation backend" elog "such as sci-electronics/ngspice (preferred) or sci-electronics/gnucap" @@ -60,10 +57,3 @@ pkg_postinst() { elog "As an alternative generate a netlist and use sci-electronics/spice" elog "from the command line for simulation." } - -pkg_postrm() { - gnome2_icon_cache_update - gnome2_schemas_update - xdg_desktop_database_update - xdg_mimeinfo_database_update -} |