Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pacman/
Date: Mon, 07 Aug 2017 17:04:48
Message-Id: 1502125380.7e94a046e4f36aba9bad961013eae772a61bb07a.amynka@gentoo
1 commit: 7e94a046e4f36aba9bad961013eae772a61bb07a
2 Author: Nils Freydank <holgersson <AT> posteo <DOT> de>
3 AuthorDate: Mon Aug 7 15:13:06 2017 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 7 17:03:00 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e94a046
7
8 sys-apps/pacman-5.0.2: Version bump. This version drops x86 keyword.
9
10 Archlinux as the upstream of pacman drops support for i686 (i.e.
11 x86 on Gentoo) entirely in Nov 2017 after nine months of phasing
12 out. Therefore a keyword for x86 won’t make sense in our ebuild
13 anymore. For more details please take a look at:
14 https://www.archlinux.org/news/phasing-out-i686-support/
15
16 Package-Manager: Portage-2.3.6, Repoman-2.3.3
17
18 sys-apps/pacman/Manifest | 1 +
19 sys-apps/pacman/pacman-5.0.2.ebuild | 86 +++++++++++++++++++++++++++++++++++++
20 2 files changed, 87 insertions(+)
21
22 diff --git a/sys-apps/pacman/Manifest b/sys-apps/pacman/Manifest
23 index f090a01e0fc..679b00ebe9d 100644
24 --- a/sys-apps/pacman/Manifest
25 +++ b/sys-apps/pacman/Manifest
26 @@ -1,2 +1,3 @@
27 DIST pacman-4.0.1.tar.gz 1897685 SHA256 04f6822b31022100de6cd0a1905b199bbd1eaf878ef0726b6242ee032f3c33b1 SHA512 3508fd4ef02c1b6ed5220946a9b7a54ebc24b4b5444c0fd58ada5e4bae9486be2aa38043c313bc2c82d485b03f7283f7754244a944c8529649fb4edbc0851de9 WHIRLPOOL 429e5c59f116d1d053c597f0fa186ece6bd5c042c58a257c5bf75ed4cd8eec11bdd282bb4ec2900c79b5f0aabe6dd2accebea71355fbb315d2d9522745d7d58d
28 DIST pacman-4.0.3.tar.gz 1961839 SHA256 a48696ae51aaccf31a69ea7916ba9b06e7836eb933b8a281c666729c9d55ce25 SHA512 a1c7607470f0c54affe09a1b0491cdc310f37accaf782489439fd80f85b7b0ae313c477f5f3075ddef86234364b2b317e9f6abe618722b603cc9808fbba2b326 WHIRLPOOL f01c0ee89e471fbf08d71abe6e1413d7102ce6b20d20a1658a88f4600df01e9485420975ef698765b2f358e83dffe84d68df0891a6d888a35826254db33856ed
29 +DIST pacman-5.0.2.tar.gz 3361701 SHA256 dfd36086ad68564bcd977f4a1fafe51dd328acd4a95093ac4bf1249be9c41f0e SHA512 94a8cce1a52d2365a993c72f16537f4dbea6100feb8f22e8782cc7d2c1ef8a525a63f3c40bb183294c0faedcc743e3d806d2fc3c50a21ab9b03df2910039d628 WHIRLPOOL 2419486287d1ce26d97b3ad53513b4699d876cf5823f65b10d60d8f1df6b2150bc1b742677a60891dccc32bb2105a9a9bb10b58950f5403d0bd64859b0b8640b
30
31 diff --git a/sys-apps/pacman/pacman-5.0.2.ebuild b/sys-apps/pacman/pacman-5.0.2.ebuild
32 new file mode 100644
33 index 00000000000..2cea26f9fc5
34 --- /dev/null
35 +++ b/sys-apps/pacman/pacman-5.0.2.ebuild
36 @@ -0,0 +1,86 @@
37 +# Copyright 1999-2017 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI="6"
41 +
42 +PYTHON_COMPAT=( python2_7 )
43 +
44 +DESCRIPTION="Archlinux's binary package manager"
45 +HOMEPAGE="https://archlinux.org/pacman/"
46 +
47 +if [[ ${PV} == "9999" ]]; then
48 + inherit git-r3
49 + EGIT_REPO_URI="https://git.archlinux.org/pacman.git"
50 +else
51 + SRC_URI="https://sources.archlinux.org/other/pacman/${P}.tar.gz"
52 + # Do *not* re-add ~x86!
53 + # https://www.archlinux.org/news/phasing-out-i686-support/
54 + KEYWORDS="~amd64"
55 +fi
56 +
57 +LICENSE="GPL-2"
58 +SLOT="0"
59 +
60 +IUSE="curl debug doc +gpg"
61 +COMMON_DEPEND="app-arch/libarchive:=[lzma]
62 + gpg? ( >=app-crypt/gpgme-1.4.0:= )
63 + dev-libs/openssl:0=
64 + curl? ( net-misc/curl )
65 + virtual/libiconv
66 + virtual/libintl"
67 +RDEPEND="${COMMON_DEPEND}"
68 +# create manpages *everytime*
69 +DEPEND="${COMMON_DEPEND}
70 + app-text/asciidoc
71 + doc? ( app-doc/doxygen )"
72 +
73 +src_prepare() {
74 + # Remove a line that adds -Werror in ./configure when --enable-debug
75 + # is passed:
76 + sed -i -e '/-Werror/d' configure.ac || die
77 +
78 + default
79 +}
80 +
81 +src_configure() {
82 + local myeconfargs=(
83 + --localstatedir=/var
84 + --disable-git-version
85 + --with-openssl
86 + # Help protect user from shooting his/her Gentoo installation
87 + # in its foot.
88 + --with-root-dir="${EPREFIX}/var/chroot/archlinux"
89 + $(use_enable debug)
90 + # build always manpages
91 + --with-doc
92 + # full doc with doxygen
93 + $(use_enable doc doxygen)
94 + $(use_with curl libcurl)
95 + $(use_with gpg gpgme)
96 + )
97 + econf "${myeconfargs[@]}"
98 +}
99 +src_install() {
100 + dodir /etc/pacman.d/
101 + default
102 +}
103 +
104 +pkg_postinst() {
105 + einfo ""
106 + einfo "The default root dir was set to ${EPREFIX}/var/chroot/archlinux"
107 + einfo "to avoid breaking Gentoo systems due to oscitancy."
108 + einfo "You need to create this path by yourself (or choose another via"
109 + einfo "pacman’s parameter -r|--root)."
110 + einfo ""
111 + einfo ""
112 + einfo "You will need to setup at least one mirror in /etc/pacman.d/mirrorlist."
113 + einfo "Please generate it manually according to the Archlinux documentation:"
114 + einfo "https://wiki.archlinux.org/index.php/Mirror"
115 + einfo ""
116 + einfo ""
117 + einfo "Archlinux is dropping support for x86 (i686 called there) entirely"
118 + einfo "in Nov 2017. Keep this in mind when setting up new systems."
119 + einfo "For more details see"
120 + einfo "https://www.archlinux.org/news/phasing-out-i686-support"
121 + einfo ""
122 +}