diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-19 07:16:02 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-03-19 07:16:02 +0000 |
| commit | 953f0280b3dd0ddb35940a401607990d5bbde612 (patch) | |
| tree | fc64cbac7a87ee8df87055bb89f5ed82155c144f /dev-util/patchutils | |
| parent | 301614351501890802f8f37e5ffc0f6a296b2f85 (diff) | |
| download | baldeagleos-repo-953f0280b3dd0ddb35940a401607990d5bbde612.tar.gz baldeagleos-repo-953f0280b3dd0ddb35940a401607990d5bbde612.tar.xz baldeagleos-repo-953f0280b3dd0ddb35940a401607990d5bbde612.zip | |
Adding metadata
Diffstat (limited to 'dev-util/patchutils')
| -rw-r--r-- | dev-util/patchutils/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/patchutils/patchutils-0.4.5.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/patchutils/Manifest b/dev-util/patchutils/Manifest index 4e263331885d..fb0e4dd4dbcc 100644 --- a/dev-util/patchutils/Manifest +++ b/dev-util/patchutils/Manifest @@ -1,3 +1,4 @@ DIST patchutils-0.4.2.tar.xz 159504 BLAKE2B 3ffcda8497b010a88e8601005871fb691ea8cac6158276862ba8e4192c333a335965288f9b5451c2fbc0a873ef95eb4a485d265387b43b0cec31b6c18d38f88e SHA512 20970d52fd43c09dc7799297b9a9eb6f60ba29ecc750d49381a2dc52273dfe484a47696cddd541f623394fa3486734cf337297cbeab6b1b244511c7740f46897 DIST patchutils-0.4.4-gnulib.patch.xz 37408 BLAKE2B 17978bdfa22e56d372f9f6180645acb2d172f543acd8a4ed388ce1bd7dd0adfed4025cabda87398bae225554ec28af415181cf5c1689dd3eed95f86ade91b542 SHA512 3511c249187c823ea1715fa772765137f1fd6e15856ef6a5e6539317e3525e7fdcffae814249209f80257f580abbb62ea6918db4bb4a9ff1396043ca124db5c9 DIST patchutils-0.4.4.tar.xz 424248 BLAKE2B 65a855a5164c193262002dc2a13a5a253d5b308ed431d49fd231ef587df2c9924b26b6c683c6162a9810290aaa65c9a4fba5e3b503517d1f815e0bd30e7be9dc SHA512 26f3ee959d7f8d7d5718ecf361436709559c62d6235114faac9a84442e9df4fb271f85eea5d96dae3969e96d88fdd9c1a9b5246696ef548fad71a8f29a026a84 +DIST patchutils-0.4.5.tar.xz 427628 BLAKE2B b465139592420a6c9875744c8fb16c9a7eb55a8f1974669e72eb5f73c4528e8b772e809b052c937fa5f0f14bf7747c215bc2e4ca9a32a83ade9a6bac38f0283c SHA512 403f2c06523f4ca5983ec669b97a5d0d3ce33d0f7cfb1d7b312357840ecd5c865ef76b11b394a5396fad859ad4693740ebe91790b9a1da9c20144c4f269c4560 diff --git a/dev-util/patchutils/patchutils-0.4.5.ebuild b/dev-util/patchutils/patchutils-0.4.5.ebuild new file mode 100644 index 000000000000..293de13fe027 --- /dev/null +++ b/dev-util/patchutils/patchutils-0.4.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..14} ) + +inherit autotools python-single-r1 toolchain-funcs + +DESCRIPTION="Collection of tools that operate on patch files" +HOMEPAGE="https://cyberelk.net/tim/software/patchutils/" +SRC_URI="https://github.com/twaugh/patchutils/releases/download/${PV}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="pcre" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + !<app-shells/bash-completion-2.16.0-r3 + pcre? ( dev-libs/libpcre2:= ) + ${PYTHON_DEPS} +" +DEPEND=" + ${RDEPEND} + elibc_musl? ( >=sys-libs/error-standalone-2.0 ) +" +BDEPEND="virtual/pkgconfig" + +pkg_setup() { + python-single-r1_pkg_setup +} + +src_prepare() { + default + eautoreconf + python_fix_shebang patchview +} + +src_configure() { + tc-export PKG_CONFIG + + if use elibc_musl; then + export CFLAGS="${CFLAGS} $(${PKG_CONFIG} --cflags error-standalone)" + export LIBS="${LIBS} $(${PKG_CONFIG} --libs error-standalone)" + fi + + econf $(use_with pcre pcre2) +} |
