[arch-commits] Commit in r10k/repos/community-any (PKGBUILD PKGBUILD)

Tim Meusel bastelfreak at gemini.archlinux.org
Wed Sep 29 18:00:25 UTC 2021


    Date: Wednesday, September 29, 2021 @ 18:00:25
  Author: bastelfreak
Revision: 1025971

archrelease: copy trunk to community-any

Added:
  r10k/repos/community-any/PKGBUILD
    (from rev 1025970, r10k/trunk/PKGBUILD)
Deleted:
  r10k/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-29 18:00:18 UTC (rev 1025970)
+++ PKGBUILD	2021-09-29 18:00:25 UTC (rev 1025971)
@@ -1,55 +0,0 @@
-# Maintainer: Tim Meusel <tim at bastelfreak.de>
-# Contributor: arakmar
-pkgname=r10k
-pkgver=3.11.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')
-makedepends=('ruby-minitar' 'ruby-yard')
-checkdepends=('ruby-rspec')
-source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('c520f6393ed7e51a9e9d714024b71f4e3c7b5161447661bf622af53784909f859e8d957ffcce389ce79fced1cb2391460982a8322c7764c1b36200e489dbaa14')
-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 1025970, r10k/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-29 18:00:25 UTC (rev 1025971)
@@ -0,0 +1,55 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+# Contributor: arakmar
+pkgname=r10k
+pkgver=3.11.0
+pkgrel=2
+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=('c520f6393ed7e51a9e9d714024b71f4e3c7b5161447661bf622af53784909f859e8d957ffcce389ce79fced1cb2391460982a8322c7764c1b36200e489dbaa14')
+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:



More information about the arch-commits mailing list