mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
Merge updates from master
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST hiera-eyaml-3.3.0.tar.gz 60385 BLAKE2B 222c0e531a0b713a0d996895168229468f131d9ce1dd786ef8337b5d9ec8a322e336bd12191253fb09e11d60682491081acd5b946a7257b6183e6533fe924811 SHA512 4bb81b87244177a4ab3ca80d0a5e67a8e6534dbdf4d489ca9f918ea97981e50d203e441cff6a35996878b6fa91815e00bdb8261e19359bb3f00efc14b1f25e0d
|
||||
DIST hiera-eyaml-3.4.0.tar.gz 60920 BLAKE2B 73a2a5c15d79b8084f226173667fc29875ea4614a09030171f81a1b2c632d45071e8952765afb9900c695643016117f9e1a28f9cefe7a19a9de67315ed4d139b SHA512 64443cc49e66dd95cb85d5a2e26a50b5c60ef78dc21354fb5a3760f4e1f0005936d46ff54232e2f2e1b250628a4844b79a8ca267c4d72ab53ef318cde10a074b
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby27 ruby30 ruby31"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md PLUGINS.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Encrypted YAML backend for hiera"
|
||||
HOMEPAGE="https://github.com/voxpupuli/hiera-eyaml"
|
||||
SRC_URI="https://github.com/voxpupuli/hiera-eyaml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/highline-1.6.19:*"
|
||||
ruby_add_rdepend "dev-ruby/optimist"
|
||||
ruby_add_rdepend "!!dev-ruby/hiera-eyaml:0" # both install the /usr/bin/eyaml binary
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-util/cucumber
|
||||
~dev-util/aruba-0.6.2
|
||||
dev-ruby/hiera-eyaml-plaintext
|
||||
)"
|
||||
|
||||
BDEPEND+=" test? ( || ( app-admin/puppet-agent app-admin/puppet ) dev-tcltk/expect )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Fix highline dependency to be compatible with more versions.
|
||||
sed -i -e '/highline/ s/~>/>=/' \
|
||||
-e '/gem.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
sed -i -e "s:/tmp:${T}:" \
|
||||
features/sandbox/puppet/environments/local/modules/test/manifests/run.pp \
|
||||
features/sandbox/puppet-hiera-merge/environments/local/modules/test/manifests/run.pp \
|
||||
features/sandbox/puppet-envvar/environments/local/modules/test/manifests/run.pp \
|
||||
features/puppet.feature
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Run tests with the correct ruby interpreter
|
||||
sed -i -e 's:I run `eyaml:I run `'${RUBY}' '"${S}"'/bin/eyaml:' features/*.feature || die
|
||||
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
CUCUMBER_PUBLISH_QUIET=true ${RUBY} -S cucumber --format progress features || die
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby27 ruby30 ruby31"
|
||||
USE_RUBY="ruby31 ruby32"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md Changelog.markdown"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
@@ -26,7 +26,11 @@ ruby_add_rdepend ">=dev-ruby/nokogiri-1.6.0
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "/bundler/d" test/test_helper.rb || die
|
||||
sed -e "/bundler/d" \
|
||||
-e 's/MiniTest::Unit::TestCase/Minitest::Test/' \
|
||||
-i test/test_helper.rb || die
|
||||
sed -e 's/MiniTest::Unit::TestCase/Minitest::Test/' \
|
||||
-i test/*_test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
|
||||
@@ -33,6 +33,11 @@
|
||||
|
||||
#--- END OF EXAMPLES ---
|
||||
|
||||
# Hans de Graaff <graaff@gentoo.org> (2023-12-15)
|
||||
# Last release in 2020. Does not work with current activesupport
|
||||
# versions. No reverse dependencies. Masked for removal on 2024-01-15.
|
||||
dev-ruby/gh
|
||||
|
||||
# Hans de Graaff <graaff@gentoo.org> (2023-12-15)
|
||||
# Old slot without any remaining reverse dependencies. Does not work
|
||||
# with ruby32. Use the newer slot instead. Masked for removal on
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
DIST nauty-includes.patch 2530 BLAKE2B 8789bc2f65b89aa3bbf27e517f1c56340f9bde089ef54aa28757c66c3954b5c54e8a09b6989ad8d57098970240dd1838baa0003766fe10c7f6c32041abf461e3 SHA512 d11f530fecb86edc9e95f0b4d91240778047c0e84d6259c80490358baf0a3eeaa112acfe1fcdb594da6c6e17855f5e21cb75c88446b8d6d9e96402be0e5e6af2
|
||||
DIST nauty2_8_6.tar.gz 1546765 BLAKE2B be8aa8ef816c8833a79876e6bf99b0dc4a23922f48684c8a3272c01b0b4eb64959366cae363fbda4200354a0833942b64e85c009fc35a3d6fa02f9b74c9b9a74 SHA512 9bc597d4341a6a67aece0ad95ecd4a649f675def73e97af1d215cf7399cbd3fb8e39f140cbd6f69740f2083c7a5739d5089e746bb3f831250709e0d2b43548b5
|
||||
DIST nauty2_8_8.tar.gz 2302360 BLAKE2B 4a37b345b239de11948d180f306e984dfec4aa26eb2720d0f0f09acd120a60b4f678375baa10d3f64f3e2f501c35cbfa58e10fc44252eb7b952a1592727a3b7f SHA512 c0495256b92b0742e7f0a3ad8b43f400e7b4bc4b58dff560e7d0a868f392b0462424566b8ebba5ec08499551eab091b6a8e2c0ddba4953ab7592906034812c18
|
||||
DIST nauty_2.8.6+ds-1.debian.tar.xz 62852 BLAKE2B fcbbed54b10d9dd4bdf82d8a72ef91866a235c7679266b8f395e2fe6b44a679e98f85462a42037094d856130d5456d9989749c416932f895bc17df8ef32241a2 SHA512 3784e0ec15c64ea6850f9198c61af3924fcedf1ffa4715fbd53a9bd1cd7defd69b543a8d4e6d46ef727918661409e2de77c89c3ca79f36769c1335b30bdd305c
|
||||
DIST nauty_2.8.8+ds-1.debian.tar.xz 65176 BLAKE2B 3615819098169caf1648271c0725e146c87ab794776c02f5bd77b7092a2c1d9b93d663ef4a9cf027fda956d40f24bb99a909f89a4564b99429b67f781d39cfc2 SHA512 f81aa3c4a142c4efa5ce97c241f95cba9916d49f02c2b3dfbd76227f2db20ec5e2a3ebe371c5748681fc3492df9ff9bca2456d76e1c70e435aa5baf1522391d5
|
||||
|
||||
79
sci-mathematics/nauty/nauty-2.8.8.ebuild
Normal file
79
sci-mathematics/nauty/nauty-2.8.8.ebuild
Normal file
@@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
MY_PV=${PV//./_}
|
||||
DEBIAN_PATCH_VERSION=1
|
||||
|
||||
DESCRIPTION="Computing automorphism groups of graphs and digraphs"
|
||||
HOMEPAGE="https://pallini.di.uniroma1.it/"
|
||||
|
||||
SRC_URI="https://pallini.di.uniroma1.it/${PN}${MY_PV}.tar.gz
|
||||
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}+ds-${DEBIAN_PATCH_VERSION}.debian.tar.xz
|
||||
https://src.fedoraproject.org/rpms/nauty/raw/rawhide/f/nauty-includes.patch"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~riscv ~x86"
|
||||
IUSE="cpu_flags_x86_popcnt examples"
|
||||
|
||||
BDEPEND="sys-apps/help2man"
|
||||
DEPEND="dev-libs/gmp:0
|
||||
sys-libs/zlib
|
||||
sci-mathematics/cliquer"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN}${MY_PV}"
|
||||
|
||||
DOCS=( schreier.txt formats.txt changes24-28.txt )
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}/debian/patches/upstream-fix-gt_numorbits.patch"
|
||||
"${WORKDIR}/debian/patches/upstream-zlib-dimacs2g.patch"
|
||||
"${WORKDIR}/debian/patches/upstream-C2help2man.patch"
|
||||
"${WORKDIR}/debian/patches/upstream-autotoolization.patch"
|
||||
"${DISTDIR}/nauty-includes.patch"
|
||||
"${WORKDIR}/debian/patches/unbundle-cliquer.patch"
|
||||
"${WORKDIR}/debian/patches/format.patch"
|
||||
"${WORKDIR}/debian/patches/uninitialized.patch"
|
||||
"${WORKDIR}/debian/patches/fall-off.patch"
|
||||
"${WORKDIR}/debian/patches/noreturn.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm makefile || die
|
||||
|
||||
# The debian patch looks for <cliquer.h>, but the autotools-form of
|
||||
# cliquer installs that header as <cliquer/cliquer.h>.
|
||||
sed -e 's~<cliquer\.h>~<cliquer/cliquer\.h>~' -i nautycliquer.h || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --disable-static \
|
||||
--enable-tls \
|
||||
--enable-generic \
|
||||
$(use_enable cpu_flags_x86_popcnt popcnt)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# It arrives non-executable in v2.8.8.
|
||||
chmod +x runalltests || die
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc nautyex*.c
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user