Andreas Schleifer pushed to branch main at Arch Linux / Packaging / Packages /
ruby-regexp_property_values
Commits:
31b37ef3 by Andreas Schleifer at 2024-11-18T21:22:38+01:00
upgpkg: 1.5.2-1; remove unreproducible files
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = ruby-regexp_property_values
pkgdesc = Inspect property values supported by Ruby's regex engine
- pkgver = 1.3.0
- pkgrel = 5
+ pkgver = 1.5.2
+ pkgrel = 1
url = https://github.com/jaynetics/regexp_property_values
arch = x86_64
license = MIT
@@ -13,7 +13,7 @@ pkgbase = ruby-regexp_property_values
makedepends = git
depends = ruby
options = !emptydirs
- source =
git+https://github.com/jaynetics/regexp_property_values.git#commit=3ecdde76f4721f45ecee885b3701df7ddb70bbe6
- sha256sums = SKIP
+ source =
git+https://github.com/jaynetics/regexp_property_values.git#tag=v1.5.2
+ sha256sums =
2811f544b68d7b175b4235bdb1acbac44e31215f8753cf7ae985dcc9945f6aeb
pkgname = ruby-regexp_property_values
=====================================
PKGBUILD
=====================================
@@ -1,9 +1,8 @@
# Maintainer: Felix Yan <[email protected]>
pkgname=ruby-regexp_property_values
-pkgver=1.3.0
-_commit=3ecdde76f4721f45ecee885b3701df7ddb70bbe6
-pkgrel=5
+pkgver=1.5.2
+pkgrel=1
pkgdesc="Inspect property values supported by Ruby's regex engine"
arch=(x86_64)
url='https://github.com/jaynetics/regexp_property_values'
@@ -12,8 +11,8 @@ depends=(ruby)
makedepends=(git)
checkdepends=(ruby-character_set ruby-rake ruby-rake-compiler
ruby-range_compressor ruby-rspec)
options=(!emptydirs)
-source=(git+https://github.com/jaynetics/regexp_property_values.git#commit=$_commit)
-sha256sums=('SKIP')
+source=("git+https://github.com/jaynetics/regexp_property_values.git#tag=v${pkgver}")
+sha256sums=('2811f544b68d7b175b4235bdb1acbac44e31215f8753cf7ae985dcc9945f6aeb')
prepare() {
cd regexp_property_values
@@ -26,7 +25,8 @@ prepare() {
build() {
local _gemdir="$(gem env gemdir)"
cd regexp_property_values
- gem build regexp_property_values.gemspec
+ gem build --verbose regexp_property_values.gemspec
+
gem install \
--local \
--verbose \
@@ -35,18 +35,32 @@ build() {
--install-dir "tmp_install/$_gemdir" \
--bindir "tmp_install/usr/bin" \
regexp_property_values-$pkgver.gem
- find "tmp_install/$_gemdir/gems/" \
+
+ # remove unreproducible files
+ rm --force --recursive --verbose \
+ "tmp_install${_gemdir}/cache/" \
+ "tmp_install${_gemdir}/gems/${_gemname}-${pkgver}/vendor/" \
+ "tmp_install${_gemdir}/doc/${_gemname}-${pkgver}/ri/ext/"
+
+ find "tmp_install${_gemdir}/gems/" \
+ -type f \
+ \( \
+ -iname "*.o" -o \
+ -iname "*.c" -o \
+ -iname "*.so" -o \
+ -iname "*.time" -o \
+ -iname "gem.build_complete" -o \
+ -iname "Makefile" \
+ \) \
+ -delete
+
+ find "tmp_install${_gemdir}/extensions/" \
-type f \
\( \
- -iname "*.o" -o \
- -iname "*.c" -o \
- -iname "*.so" -o \
- -iname "*.time" -o \
- -iname "gem.build_complete" -o \
- -iname "Makefile" \
+ -iname "mkmf.log" -o \
+ -iname "gem_make.out" \
\) \
-delete
- rm -r tmp_install/$_gemdir/cache
}
check() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-regexp_property_values/-/commit/31b37ef3de49b0a14f9f206fc0cdd5d1ece69dfe
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ruby-regexp_property_values/-/commit/31b37ef3de49b0a14f9f206fc0cdd5d1ece69dfe
You're receiving this email because of your account on gitlab.archlinux.org.