[arch-commits] Commit in r10k/repos/community-any (PKGBUILD PKGBUILD)
Tim Meusel
bastelfreak at gemini.archlinux.org
Fri Apr 22 14:33:11 UTC 2022
Date: Friday, April 22, 2022 @ 14:33:11
Author: bastelfreak
Revision: 1187338
archrelease: copy trunk to community-any
Added:
r10k/repos/community-any/PKGBUILD
(from rev 1187337, r10k/trunk/PKGBUILD)
Deleted:
r10k/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-22 14:33:02 UTC (rev 1187337)
+++ PKGBUILD 2022-04-22 14:33:11 UTC (rev 1187338)
@@ -1,55 +0,0 @@
-# Maintainer: Tim Meusel <tim at bastelfreak.de>
-# Contributor: arakmar
-pkgname=r10k
-pkgver=3.13.0
-pkgrel=1
-pkgdesc='Provides a general purpose toolset for deploying Puppet environments and modules.'
-arch=('any')
-url="https://github.com/puppetlabs/${pkgname}"
-license=('Apache')
-depends=('ruby' 'ruby-colored2' 'ruby-cri' 'ruby-gettext-setup' 'ruby-log4r' 'ruby-multi_json' 'ruby-semantic_puppet' 'ruby-puppet_forge' 'ruby-rugged' 'ruby-fast_gettext' 'ruby-gettext' 'ruby-faraday' 'ruby-faraday-net_http' 'ruby-jwt')
-makedepends=('ruby-minitar' 'ruby-yard')
-checkdepends=('ruby-rspec')
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('407d53aa122defccc22c92bcafef59cdb4b809051f688cb3b1cc29b44ab79f8786789e1a32865fe6eee69e6b5cda31375a891ad65fad96ea6808d0b77cc4d60a')
-options=('!emptydirs')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # update the gemspec to allow newer versions
- sed --in-place 's|~>|>=|g' "${pkgname}.gemspec"
- # don't use git to detect files for the package
- sed --in-place 's|git ls-files|find|g' "${pkgname}.gemspec"
- # allow newer gettext versions
- sed --in-place 's|< 3.3.0|< 4.0.0|' "${pkgname}.gemspec"
- # allow newer version of cri
- sed --in-place "s#, '2.15.10'##" r10k.gemspec
- # drop dev/CI dependencies; they only create package dependecy circles
- sed --in-place '/add_development_dependency/d' "${pkgname}.gemspec"
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
- gem build "${pkgname}.gemspec"
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- rspec --color --format documentation spec/unit
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- local _gemdir="$(gem env gemdir)"
- gem install --verbose --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${pkgname}-${pkgver}.gem"
-
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
- install -Dm 644 r10k.yaml.example CHANGELOG.mkd README.mkd CONTRIBUTING.mkd -t "${pkgdir}/usr/share/doc/${pkgname}"
- mv doc docker integration "${pkgdir}/usr/share/doc/${pkgname}/"
-
- rm -rf "${pkgdir}/${_gemdir}/gems/${pkgname}-${pkgver}/ext"
- rm -rf "${pkgdir}/${_gemdir}/cache"
-}
-
-# vim: ts=2 sw=2 et:
Copied: r10k/repos/community-any/PKGBUILD (from rev 1187337, r10k/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-22 14:33:11 UTC (rev 1187338)
@@ -0,0 +1,55 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+# Contributor: arakmar
+pkgname=r10k
+pkgver=3.14.2
+pkgrel=1
+pkgdesc='Provides a general purpose toolset for deploying Puppet environments and modules.'
+arch=('any')
+url="https://github.com/puppetlabs/${pkgname}"
+license=('Apache')
+depends=('ruby' 'ruby-colored2' 'ruby-cri' 'ruby-gettext-setup' 'ruby-log4r' 'ruby-multi_json' 'ruby-semantic_puppet' 'ruby-puppet_forge' 'ruby-rugged' 'ruby-fast_gettext' 'ruby-gettext' 'ruby-faraday' 'ruby-faraday-net_http' 'ruby-jwt')
+makedepends=('ruby-minitar' 'ruby-yard')
+checkdepends=('ruby-rspec')
+source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('82bc8e657739027c4be15f7ee8a4c1fa8c1c0b9de76a8ece0056a1f94859581d8747f755c23d485c4baec0325c13c874bced58aa15675f8e035587e1452ae548')
+options=('!emptydirs')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # update the gemspec to allow newer versions
+ sed --in-place 's|~>|>=|g' "${pkgname}.gemspec"
+ # don't use git to detect files for the package
+ sed --in-place 's|git ls-files|find|g' "${pkgname}.gemspec"
+ # allow newer gettext versions
+ sed --in-place 's|< 3.3.0|< 4.0.0|' "${pkgname}.gemspec"
+ # allow newer version of cri
+ sed --in-place "s#, '2.15.10'##" r10k.gemspec
+ # drop dev/CI dependencies; they only create package dependecy circles
+ sed --in-place '/add_development_dependency/d' "${pkgname}.gemspec"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ gem build "${pkgname}.gemspec"
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ rspec --color --format documentation spec/unit
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ local _gemdir="$(gem env gemdir)"
+ gem install --verbose --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${pkgname}-${pkgver}.gem"
+
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -Dm 644 r10k.yaml.example CHANGELOG.mkd README.mkd CONTRIBUTING.mkd -t "${pkgdir}/usr/share/doc/${pkgname}"
+ mv doc docker integration "${pkgdir}/usr/share/doc/${pkgname}/"
+
+ rm -rf "${pkgdir}/${_gemdir}/gems/${pkgname}-${pkgver}/"{ext,spec,integration,.github}
+ rm -rf "${pkgdir}/${_gemdir}/cache"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list