From: "Matthew Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/pdk/
Date: Wed, 19 Dec 2018 20:32:29 +0000 (UTC) [thread overview]
Message-ID: <1545251534.f4ab9e641b59d1d0fe8d483f5e1e8c69771d2ac9.prometheanfire@gentoo> (raw)
commit: f4ab9e641b59d1d0fe8d483f5e1e8c69771d2ac9
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 19 20:31:53 2018 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Wed Dec 19 20:32:14 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ab9e64
app-admin/pdk: 1.8.0.0 initial add
Closes: https://bugs.gentoo.org/667768
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
app-admin/pdk/Manifest | 1 +
app-admin/pdk/metadata.xml | 13 +++++++++++
app-admin/pdk/pdk-1.8.0.0.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 63 insertions(+)
diff --git a/app-admin/pdk/Manifest b/app-admin/pdk/Manifest
new file mode 100644
index 00000000000..9cb3a02d001
--- /dev/null
+++ b/app-admin/pdk/Manifest
@@ -0,0 +1 @@
+DIST pdk_1.8.0.0-1stretch_amd64.deb 128361866 BLAKE2B 1d21de3e011d8f111ca9910193fb2ffd3360ec1bc7d1917b89c24d42dad8c1b521b12f37850cfc88a32cc79aab76000b2801568683e96ef9aedfbe7ab48bf6b3 SHA512 edae3add1d7a0e66361cc60c555f556355a07d80dc05b21cfa8c994b8a66442168d72b602258d984f9c19c15e561c9260d3ebbc82e6bfc22758f4327d78791c2
diff --git a/app-admin/pdk/metadata.xml b/app-admin/pdk/metadata.xml
new file mode 100644
index 00000000000..33d86fd6098
--- /dev/null
+++ b/app-admin/pdk/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>prometheanfire@gentoo.org</email>
+ <name>Matthew Thode</name>
+ </maintainer>
+ <longdescription lang="en">
+ PDK includes testing tools, a complete module skeleton, and command line
+ tools to help you create, validate, and run tests on Puppet modules. PDK
+ also includes all dependencies needed for its use.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-admin/pdk/pdk-1.8.0.0.ebuild b/app-admin/pdk/pdk-1.8.0.0.ebuild
new file mode 100644
index 00000000000..a456fa1d397
--- /dev/null
+++ b/app-admin/pdk/pdk-1.8.0.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit eutils unpacker
+
+DESCRIPTION="Puppet SDK - develop and test puppet modules"
+HOMEPAGE="https://puppetlabs.com/"
+SRC_BASE="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch"
+SRC_URI="
+ amd64? ( ${SRC_BASE}_amd64.deb )
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+RESTRICT="strip"
+
+S=${WORKDIR}
+
+QA_PREBUILT="
+ /opt/puppetlabs/pdk
+ /opt/puppetlabs/pdk/lib/engines/*
+ /opt/puppetlabs/pdk/lib/*
+ /opt/puppetlabs/pdk/bin/*"
+
+src_install() {
+ # Drop the opt folder into place
+ insinto /opt
+ doins -r opt/*
+
+ # Add symlinks
+ chmod 0755 -R "${D}/opt/puppetlabs/pdk/bin/"
+ chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/git/bin/"
+ chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/ruby/2.1.9/bin/"
+ chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/ruby/2.4.4/bin/"
+ chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/ruby/2.5.1/bin/"
+ chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/puppet/ruby/2.1.0/bin/"
+ chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/puppet/ruby/2.4.0/bin/"
+ chmod 0755 -R "${D}/opt/puppetlabs/pdk/private/puppet/ruby/2.5.0/bin/"
+
+ # remove rwx a.out stuff
+ rm "${D}"/opt/puppetlabs/pdk/private/ruby/2.4.4/lib/ruby/gems/2.4.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x86_64-linux/a.out
+ rm "${D}"/opt/puppetlabs/pdk/share/cache/ruby/2.1.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x86_64-linux/a.out
+ rm "${D}"/opt/puppetlabs/pdk/share/cache/ruby/2.5.0/gems/ffi-1.9.25/ext/ffi_c/libffi-x86_64-linux/a.out
+
+ dosym ../../opt/puppetlabs/pdk/bin/pdk /usr/bin/pdk
+}
reply other threads:[~2018-12-19 20:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1545251534.f4ab9e641b59d1d0fe8d483f5e1e8c69771d2ac9.prometheanfire@gentoo \
--to=prometheanfire@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox