libedit — libedit: 20251016-3.1 → 20251016-3.1 (#13622)

* Fix overwriting builds on rebuild CI

* Rebuild libedit

* libedit: Package File Update Run on linux/386 container.

* libedit: Package File Update Run on linux/amd64 container.

* libedit: Package File Update Run on linux/arm/v7 container.

---------

Co-authored-by: Zopolis4 <creatorsmithmdt@gmail.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
This commit is contained in:
chromebrew-actions[bot]
2025-11-24 17:39:49 -06:00
committed by GitHub
parent 8debe5e0fd
commit 113f0f07df
5 changed files with 12 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
# Total size: 1665794
# Total size: 1666850
/usr/local/include/editline/readline.h
/usr/local/include/histedit.h
/usr/local/lib/libedit.a

View File

@@ -1,4 +1,4 @@
# Total size: 1773550
# Total size: 1774378
/usr/local/include/editline/readline.h
/usr/local/include/histedit.h
/usr/local/lib/libedit.a

View File

@@ -1,4 +1,4 @@
# Total size: 1864238
# Total size: 1865038
/usr/local/include/editline/readline.h
/usr/local/include/histedit.h
/usr/local/lib64/libedit.a

View File

@@ -1,6 +1,6 @@
require 'package'
require 'buildsystems/autotools'
class Libedit < Package
class Libedit < Autotools
description 'An autotooled and libtoolized port of the NetBSD Editline library (libedit).'
homepage 'https://thrysoee.dk/editline/'
version '20251016-3.1'
@@ -11,28 +11,15 @@ class Libedit < Package
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'df991d3222c3861376796273e2cac18c23a5b3f909b3fe13d13ae794776a4335',
armv7l: 'df991d3222c3861376796273e2cac18c23a5b3f909b3fe13d13ae794776a4335',
i686: '9b2f5431f8edbf727d9f413e46f07c15d4e5ff2c4e9c3006dad3ca42f12bba0e',
x86_64: '5becd6c50a6a867a2e37cbdc601a0f02ccc57cc999efe445b84ad57514c030a2'
aarch64: 'd1d1bff30aa008299109755393a5181bf1e8e5ee97cdc113e35b02b5e4646902',
armv7l: 'd1d1bff30aa008299109755393a5181bf1e8e5ee97cdc113e35b02b5e4646902',
i686: '3d6a09ba23138e49a60d28ac5bdcac03c7d4dbbb7f38f8a1b5efa3e1bcc74214',
x86_64: '66475f8d1327be4a3492f3dc9e0e49a30a003e74cae6960e8699afc24863370e'
})
depends_on 'glibc' # R
depends_on 'ncurses' # R
def self.build
system "./configure #{CREW_CONFIGURE_OPTIONS} \
CPPFLAGS=\"-I#{CREW_PREFIX}/include/ncursesw\""
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
# Remove conflict with readline
FileUtils.rm_f "#{CREW_DEST_MAN_PREFIX}/man3/history.3"
end
def self.check
system 'make', 'check'
end
autotools_configure_options "CPPFLAGS=-I#{CREW_PREFIX}/include/ncursesw"
run_tests
end

View File

@@ -300,7 +300,7 @@ updated_packages.each do |pkg|
Process.kill('HUP', actions_timed_killer) if ENV['NESTED_CI']
# Reinvoke this script to take just built packages that have been built and
# installed into account, attempting uploads of just built packages immediately.
cmdline = "cd #{`pwd`.chomp} && crew upload #{name} ; #{$PROGRAM_NAME} #{ARGV.join(' ')}"
cmdline = "cd #{`pwd`.chomp} && crew upload #{name} #{'--force' if REBUILD_PACKAGES} ; #{$PROGRAM_NAME} #{ARGV.join(' ')}"
puts "cmdline is #{cmdline}"
exec cmdline
end