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

Tim Meusel bastelfreak at gemini.archlinux.org
Mon Jun 27 13:24:31 UTC 2022


    Date: Monday, June 27, 2022 @ 13:24:30
  Author: bastelfreak
Revision: 1239683

archrelease: copy trunk to community-any

Added:
  ruby-puppet_metadata/repos/community-any/PKGBUILD
    (from rev 1239682, ruby-puppet_metadata/trunk/PKGBUILD)
Deleted:
  ruby-puppet_metadata/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-27 13:24:18 UTC (rev 1239682)
+++ PKGBUILD	2022-06-27 13:24:30 UTC (rev 1239683)
@@ -1,46 +0,0 @@
-# Maintainer: Tim Meusel <tim at bastelfreak.de>
-
-_gemname='puppet_metadata'
-pkgname="ruby-${_gemname}"
-pkgver=1.4.0
-pkgrel=1
-pkgdesc='Data structures for the Puppet Metadata'
-arch=('any')
-url="https://github.com/voxpupuli/${_gemname}"
-license=('Apache')
-depends=('ruby' 'ruby-metadata-json-lint' 'ruby-semantic_puppet')
-makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rspec' 'ruby-rspec-its')
-options=('!emptydirs')
-source=("${url}/archive/${pkgver}/${_gemname}-${pkgver}.tar.gz")
-sha512sums=('cdf86f4738e9d74646784fdcae5e2737d1c5adfcd368fd9fb4737b7b35de32fddbdaf9752ae2387426818774f5338da291065e781243be4f735b01e3c94820a4')
-
-prepare() {
-  cd "${srcdir}/${_gemname}-${pkgver}"
-  # allow latest dependencies
-  sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
-
-  # drop development deps, they only cause dependency issues and aren't required
-  sed --in-place '/add_development_dependency/d' "${_gemname}.gemspec"
-}
-
-build() {
-  cd "${srcdir}/${_gemname}-${pkgver}"
-  gem build "${_gemname}.gemspec"
-}
-
-check() {
-  cd "${srcdir}/${_gemname}-${pkgver}"
-  rake
-}
-
-package() {
-cd "${srcdir}/${_gemname}-${pkgver}"
-  local _gemdir="$(gem env gemdir)"
-  gem install --verbose --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
-
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
-
-  install -Dm 644 README.md HISTORY.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-
-  rm -rf "${pkgdir}/${_gemdir}/cache"
-}

Copied: ruby-puppet_metadata/repos/community-any/PKGBUILD (from rev 1239682, ruby-puppet_metadata/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-27 13:24:30 UTC (rev 1239683)
@@ -0,0 +1,46 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+
+_gemname='puppet_metadata'
+pkgname="ruby-${_gemname}"
+pkgver=1.7.0
+pkgrel=1
+pkgdesc='Data structures for the Puppet Metadata'
+arch=('any')
+url="https://github.com/voxpupuli/${_gemname}"
+license=('Apache')
+depends=('ruby' 'ruby-metadata-json-lint' 'ruby-semantic_puppet')
+makedepends=('ruby-rdoc' 'ruby-rake' 'ruby-rspec' 'ruby-rspec-its')
+options=('!emptydirs')
+source=("${url}/archive/${pkgver}/${_gemname}-${pkgver}.tar.gz")
+sha512sums=('f13d1b388f4c55af7c9ba86ba606c0b39237902729d1c77891beba24f83803a5d745c32fda140f59f612282a26bd1f4f8140a267fb2b03d6db43ef5597b5cee3')
+
+prepare() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  # allow latest dependencies
+  sed --in-place 's|~>|>=|g' "${_gemname}.gemspec"
+
+  # drop development deps, they only cause dependency issues and aren't required
+  sed --in-place '/add_development_dependency/d' "${_gemname}.gemspec"
+}
+
+build() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  gem build "${_gemname}.gemspec"
+}
+
+check() {
+  cd "${srcdir}/${_gemname}-${pkgver}"
+  rake
+}
+
+package() {
+cd "${srcdir}/${_gemname}-${pkgver}"
+  local _gemdir="$(gem env gemdir)"
+  gem install --verbose --ignore-dependencies --no-user-install --install-dir "${pkgdir}/${_gemdir}" --bindir "${pkgdir}/usr/bin" "${_gemname}-${pkgver}.gem"
+
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  install -Dm 644 README.md HISTORY.md CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+  rm -rf "${pkgdir}/${_gemdir}/cache"
+}



More information about the arch-commits mailing list