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

Tim Meusel bastelfreak at gemini.archlinux.org
Thu Aug 12 16:48:42 UTC 2021


    Date: Thursday, August 12, 2021 @ 16:48:42
  Author: bastelfreak
Revision: 997677

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-12 16:48:36 UTC (rev 997676)
+++ PKGBUILD	2021-08-12 16:48:42 UTC (rev 997677)
@@ -1,51 +0,0 @@
-# Maintainer: Tim Meusel <tim at bastelfreak.de>
-
-_gemname='puppet_metadata'
-pkgname="ruby-${_gemname}"
-pkgver=0.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=('2b47586bee78b414251337abbc329542bb117ebfe7d054f829b7c02260508e586c6c559f2c07f7b123d8d91984335dc6d6cb0172fb165f89337a01a1ae2a809e')
-
-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"
-
-  # disable rubocop
-  #patch --forward --verbose --strip=1 --input=../disable_rubocop.patch
-
-  #sed --in-place 's|`git ls-files -z`.split("\\x0")|`find`.split("\\n")|' "${_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 997676, ruby-puppet_metadata/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-12 16:48:42 UTC (rev 997677)
@@ -0,0 +1,46 @@
+# Maintainer: Tim Meusel <tim at bastelfreak.de>
+
+_gemname='puppet_metadata'
+pkgname="ruby-${_gemname}"
+pkgver=1.0.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=('3fd190caef18399fce369eda756f8d1df4cda6195554dca7e1b57277465fc663e10d47a2d8cb0069bac97038e29039518426befb534beae5539af018a31ee826')
+
+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