dev-python/python-skywater-pdk: new package, add 0.0.0_p20220424

Signed-off-by: James Beddek <telans@posteo.de>
This commit is contained in:
James Beddek
2022-06-08 17:06:29 +12:00
parent 042b1db38e
commit 069890c674
3 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST skywater-pdk-0.0.0_p20220424.tar.gz 2453601 BLAKE2B 527c66f71b79b24d67eca0ed43d654073a62edf9ff71dec7cf86e783f6d41635803066cf723e88cacb284b090e7bf1f35b22106454d882307f9c7b8338964b35 SHA512 8a26cc93572844ff1f1f9112b42f1fb4691d65cb9598554c8de326c7372e650c8c10bf0d9258bfebcfc2917988fc7405b5b75d5c5adfe131ff5db19dd6a159b4

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>telans@posteo.de</email>
<name>James Beddek</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} ) # python3_11 depends on dev-python/dataclasses_json
MY_PN="skywater-pdk"
MY_REV=5a57f505cd4cd65d10e9f37dd2d259a526bc9bf7
inherit distutils-r1
DESCRIPTION="Python library for working with files found in the SkyWater PDK"
HOMEPAGE="https://github.com/google/skywater-pdk"
SRC_URI="https://github.com/google/skywater-pdk/archive/${MY_REV}.tar.gz -> skywater-pdk-${PV}.tar.gz"
S="${WORKDIR}/${MY_PN}-${MY_REV}/scripts/python-skywater-pdk"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-python/dataclasses_json[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
src_prepare() {
sed '/sample/d' -i setup.py || die
distutils-r1_src_prepare
}