From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4E195158B20 for ; Tue, 04 Feb 2025 13:33:29 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 35AE4342FF5 for ; Tue, 04 Feb 2025 13:33:29 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7E4BB11046F; Tue, 04 Feb 2025 13:33:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 7419111046F for ; Tue, 04 Feb 2025 13:33:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2AE15340DD9 for ; Tue, 04 Feb 2025 13:33:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8603F2615 for ; Tue, 04 Feb 2025 13:33:23 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1738675992.f7764dd50829b31c27bd9dde2d7cca2d2ab75f78.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/klayout/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/klayout/Manifest sci-electronics/klayout/klayout-0.29.11.ebuild X-VCS-Directories: sci-electronics/klayout/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: f7764dd50829b31c27bd9dde2d7cca2d2ab75f78 X-VCS-Branch: master Date: Tue, 04 Feb 2025 13:33:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 52ea9985-3323-408f-87a2-0036ecfa6c40 X-Archives-Hash: bb5f1276d195b10fd8660bd2057a3851 commit: f7764dd50829b31c27bd9dde2d7cca2d2ab75f78 Author: Andreas K. Hüttel gentoo org> AuthorDate: Tue Feb 4 13:32:38 2025 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Tue Feb 4 13:33:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7764dd5 sci-electronics/klayout: add 0.29.11 Signed-off-by: Andreas K. Hüttel gentoo.org> sci-electronics/klayout/Manifest | 1 + sci-electronics/klayout/klayout-0.29.11.ebuild | 91 ++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/sci-electronics/klayout/Manifest b/sci-electronics/klayout/Manifest index 0017ec4b0a6d..a3c569278ceb 100644 --- a/sci-electronics/klayout/Manifest +++ b/sci-electronics/klayout/Manifest @@ -1 +1,2 @@ +DIST klayout-0.29.11.tar.gz 97526183 BLAKE2B 6da5c4590ae14c46f677b0e87fd001c89731db15abcbce42c3a22844a2277be7998c80cf8e39f0df8d3bdcc00ac39290fab87973ec3cf6aa21d4967f047ef143 SHA512 a03bc5e3ca612e0dab894a193e7f942ef4fb8860364fcdda2128b55fd81c82eb2c8122a1e340c03097a9def7942d151ba115def8322e3c103fcec09d4849f6dd DIST klayout-0.29.7.tar.gz 97112729 BLAKE2B 3e6d97bcbef5a1ef34ab6ac035db88dfa7f590ef7ab5d3b6312248244cbe4538407db0278b6c7dc2f0a5a4a966d21ee60d1f11200327773979852ecb835ec078 SHA512 361337d028b8266abd2c5114643a7b2074c794f5685b336658168f09df1f3e4826de2d3cb1e094bd2f08616d6f0be78c8f6b44144c74367dcaf65785476ab8ae diff --git a/sci-electronics/klayout/klayout-0.29.11.ebuild b/sci-electronics/klayout/klayout-0.29.11.ebuild new file mode 100644 index 000000000000..7dd60f77e437 --- /dev/null +++ b/sci-electronics/klayout/klayout-0.29.11.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +RUBY_OPTIONAL=no +USE_RUBY="ruby32" +# note: define maximally ONE implementation here + +PYTHON_COMPAT=( python3_{11,12,13} ) + +inherit toolchain-funcs python-single-r1 ruby-ng + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://github.com/klayoutmatthias/${PN}.git" + inherit git-r3 + EGIT_CHECKOUT_DIR=${WORKDIR}/all/${P} +else + SRC_URI="https://www.klayout.org/downloads/source/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Viewer and editor for GDS and OASIS integrated circuit layouts" +HOMEPAGE="https://www.klayout.de/" +LICENSE="GPL-2" +SLOT="0" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND=" + dev-qt/designer:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5[widgets] + dev-qt/qtnetwork:5[ssl] + dev-qt/qtprintsupport:5 + dev-qt/qtsql:5 + dev-qt/qtsvg:5 + dev-qt/qttest:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + dev-qt/qtxmlpatterns:5 + dev-libs/libgit2:= + sys-libs/zlib + ${PYTHON_DEPS} + $(ruby_implementations_depend) +" +DEPEND="${RDEPEND}" + +pkg_setup() { + python-single-r1_pkg_setup + ruby-ng_pkg_setup +} + +each_ruby_configure() { + tc-export CC CXX AR LD RANLIB + export CFLAGS CXXFLAGS + ./build.sh \ + -expert \ + -dry-run \ + -qmake "$EPREFIX/usr/$(get_libdir)/qt5/bin/qmake" \ + -ruby "${RUBY}" \ + -python "${PYTHON}" \ + -build . \ + -bin "${T}/bin" \ + -rpath "$EPREFIX/usr/$(get_libdir)/klayout" \ + -option "${MAKEOPTS}" \ + -with-qtbinding \ + -without-64bit-coord \ + -qt5 || die "Configuration failed" +} + +each_ruby_compile() { + emake all +} + +each_ruby_install() { + emake install + + cd "${T}/bin" || die + + dodir "/usr/$(get_libdir)/klayout" + 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 +}