sci-electronics/open_pdks: treeclean

Bug: https://bugs.gentoo.org/931473
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy
2024-06-15 15:37:19 -04:00
parent aaf135dc15
commit 2bfaecf392
3 changed files with 0 additions and 65 deletions

View File

@@ -1 +0,0 @@
DIST open_pdks-1.0.311.tar.gz 6184511 BLAKE2B 70bfd6782ce1c3736403068b5a825a1f125e867017c97de9279b7abb48ebbd9e138b7be06437436bcae4fcfa11230407e583f6155f7f333dad3ea8245fd314d3 SHA512 0fbac0c0cfdfab2e3061a957fafece95db105a3c90a27ad6cebf2d52ca0b12f875d2a25fe801c25e25ea467c17abfc8774198388baeba4713f741973be261bfd

View File

@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<use>
<flag name="sky130">Build the Skywater 130nm PDK.</flag>
</use>
<upstream>
<remote-id type="github">RTimothyEdwards/open_pdks</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,53 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
inherit check-reqs python-any-r1
DESCRIPTION="PDK installer for open-source EDA tools and toolchains"
HOMEPAGE="https://github.com/RTimothyEdwards/open_pdks"
SRC_URI="https://github.com/RTimothyEdwards/open_pdks/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+sky130"
DEPEND="
dev-lang/tcl:0=
dev-lang/tk:0=
>=sci-electronics/magic-8.3.277:=
sky130? ( sci-electronics/skywater-pdk:= )
"
BDEPEND="${PYTHON_DEPS}"
CHECKREQS_DISK_BUILD="40G"
CHECKREQS_DISK_USR="10G"
src_prepare() {
default
# TODO: install helper python[tk] files
# sed -i 's/\$(datadir)/\$(DESTDIR)\$(datadir)/g' Makefile.in || due
}
src_configure() {
cd scripts || die
local myeconfargs=(
--enable-magic
$(use_enable sky130 sky130-pdk /usr/share/pdk/skywater-pdk-source)
$(use_with sky130 sky130-variants all)
# Pending deps
--disable-alpha-sky130
--disable-xschem-sky130
--disable-netgen
--disable-irsim
--disable-openlane
--disable-qflow
--disable-xschem
)
econf "${myeconfargs[@]}"
}