Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dev-util/pdk/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ DIST pdk_3.2.0.0-1bullseye_amd64.deb 118331526 BLAKE2B 2e779ce90f2a2041c2e00dc95
DIST pdk_3.2.0.1-1bookworm_amd64.deb 118257384 BLAKE2B dfe776470e22b5f6b64aa54cf4930731fb25140900f8a08ae75729ba8964c54ad0d1c1eec7ecdd71dc343a5f69149e3491bcaa1079455464c2b498da161372c3 SHA512 9f5cd14582dba1c3cbd3f9f3f2ef8e08fca4cedd069d4c76aa1e0888714c59d2fa34fb8436c3285eec8b981ee8dc17e6ddd2e328bbfb7cbc635532ffaf44653a
DIST pdk_3.3.0.0-1bookworm_amd64.deb 109362886 BLAKE2B 0dfe723898334cdd413af1d7b1281ff1b9ada5a8994c7efc4282f77c6f3a89d2954cc7c29bde7c93751d1bc24ac91c72877d9f8142e610483192e0fbb074cdb2 SHA512 569fe22ebe4cb23fb880811a99b09b64f09cbacdcdcd6fed7285b033b6f3f827a5013ead390414353b60568c4413f693857f215a46b86e14822890e9cdfb51cd
DIST pdk_3.4.0.1-1bookworm_amd64.deb 115101758 BLAKE2B b918db1f8e0440869349e7543fe7f7f44aa1c72c12c2f67ad23c1db69c9fd01c0a2c15fb46caa29c3edfd9c7a37aac994c34b01aebbede61e11269a0fec65733 SHA512 4e16e51dd0056d9b0256d8339d2c36bb499170ce047b6f4056286b1b7e1e3c7b4ddac97a5b605f15c532a3da7d3ce80373ea16d1b10b8ff6ddae501c45336a3c
DIST pdk_3.4.0.1-1bookworm_arm64.deb 114466158 BLAKE2B 90a76b25f5ec1d372c615750eeed5fc7eccc50743fda2a14559105820c877c758fbaa8d9cf82d17aa9c052fb2bb6fc04c5ebdeadbd77d6098331c0adbee524a8 SHA512 2402fa546f012bb56cfafe5ffe3368ea8c0484cf369c61e8f24394c9d0cd4928ec148b958eaa4e5026a91f71fb6827d6bf1e5da0336d68a56c0dc12b14bc47fc
50 changes: 50 additions & 0 deletions dev-util/pdk/pdk-3.4.0.1-r1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit unpacker

DESCRIPTION="Puppet Development Kit"
HOMEPAGE="https://puppetlabs.com/"
SRC_BASE="http://apt.puppetlabs.com/pool/bookworm/puppet-tools/${PN:0:1}/${PN}/${PN}_${PV}-1bookworm"
SRC_URI="
amd64? ( ${SRC_BASE}_amd64.deb )
arm64? ( ${SRC_BASE}_arm64.deb )
"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64"
IUSE=""
RESTRICT="strip mirror"

DEPEND="virtual/libcrypt"
RDEPEND="${DEPEND}"

S=${WORKDIR}

QA_PREBUILT="
/opt/puppetlabs/pdk
/opt/puppetlabs/pdk/lib/engines/*
/opt/puppetlabs/pdk/lib/*
/opt/puppetlabs/pdk/bin/*"

src_prepare() {
default

# Remove broken libs to avoid QA errors
rm opt/puppetlabs/pdk/private/ruby/*/lib/ruby/*/x86_64-linux/readline.so
}

src_install() {
# Drop the opt folder into place
insinto /opt
doins -r opt/*

# Ensure permissions
find "${D}" -iwholename '*/bin/*' -exec chmod 0755 {} +
chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/git/lib/git-core/"

# Add symlinks
dosym /opt/puppetlabs/pdk/bin/pdk /usr/bin/pdk
}