Gentoo Archives: gentoo-commits

From: ILMostro <ilmostro7@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/ag-ops:master commit in: net-irc/weechat/
Date: Tue, 11 Sep 2018 22:58:57
Message-Id: 1536706709.7904712c71e0f50966925ab783bf3e7201595ddb.ILMostro@gentoo
1 commit: 7904712c71e0f50966925ab783bf3e7201595ddb
2 Author: ILMostro <ilmostro7 <AT> gmail <DOT> com>
3 AuthorDate: Tue Sep 11 22:58:29 2018 +0000
4 Commit: ILMostro <ilmostro7 <AT> gmail <DOT> com>
5 CommitDate: Tue Sep 11 22:58:29 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/user/ag-ops.git/commit/?id=7904712c
7
8 net-irc/weechat: revbump
9 gentoo repo has weechat-2.2-r1 finally. This increment should suffice to prevent ag-ops version from being overwritten by that
10 provided in gentoo repo.
11
12 net-irc/weechat/weechat-2.2.ebuild | 151 -------------------------------------
13 1 file changed, 151 deletions(-)
14
15 diff --git a/net-irc/weechat/weechat-2.2.ebuild b/net-irc/weechat/weechat-2.2.ebuild
16 deleted file mode 100644
17 index 1cd2258..0000000
18 --- a/net-irc/weechat/weechat-2.2.ebuild
19 +++ /dev/null
20 @@ -1,151 +0,0 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
26 -CMAKE_MAKEFILE_GENERATOR=emake
27 -inherit python-single-r1 cmake-utils
28 -
29 -if [[ ${PV} == "9999" ]] ; then
30 - inherit git-r3
31 - EGIT_REPO_URI="https://github.com/weechat/weechat.git"
32 -else
33 - SRC_URI="https://weechat.org/files/src/${P}.tar.xz"
34 - KEYWORDS="~amd64 ~x86 ~x64-macos"
35 -fi
36 -
37 -DESCRIPTION="Portable and multi-interface IRC client"
38 -HOMEPAGE="https://weechat.org/"
39 -
40 -LICENSE="GPL-3"
41 -SLOT="0"
42 -
43 -NETWORKS="+irc"
44 -PLUGINS="+alias +buflist +charset +exec +fset +fifo +logger +relay +scripts +spell +trigger +xfer"
45 -# dev-lang/v8 was dropped from Gentoo so we can't enable javascript support
46 -SCRIPT_LANGS="guile lua +perl php +python ruby tcl"
47 -LANGS=" cs de es fr hu it ja pl pt pt_BR ru tr"
48 -IUSE="doc nls +ssl test ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}"
49 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
50 -
51 -RDEPEND="
52 - dev-libs/libgcrypt:0=
53 - net-misc/curl[ssl]
54 - sys-libs/ncurses:0=
55 - sys-libs/zlib
56 - charset? ( virtual/libiconv )
57 - guile? ( >=dev-scheme/guile-2.0 )
58 - lua? ( dev-lang/lua:* )
59 - nls? ( virtual/libintl )
60 - perl? ( dev-lang/perl:= )
61 - php? ( >=dev-lang/php-7.0:* )
62 - python? ( ${PYTHON_DEPS} )
63 - ruby? ( || ( dev-lang/ruby:2.5 dev-lang/ruby:2.4 dev-lang/ruby:2.3 dev-lang/ruby:2.2 ) )
64 - ssl? ( net-libs/gnutls )
65 - spell? ( app-text/aspell )
66 - tcl? ( >=dev-lang/tcl-8.4.15:0= )
67 -"
68 -DEPEND="${RDEPEND}
69 - doc? (
70 - >=dev-ruby/asciidoctor-1.5.4
71 - dev-util/source-highlight
72 - )
73 - nls? ( >=sys-devel/gettext-0.15 )
74 - test? ( dev-util/cpputest )
75 -"
76 -
77 -DOCS="AUTHORS.adoc ChangeLog.adoc Contributing.adoc ReleaseNotes.adoc README.adoc"
78 -
79 -# tests need to be fixed to not use system plugins if weechat is already installed
80 -RESTRICT="test"
81 -
82 -PATCHES=( "${FILESDIR}"/${PN}-2.1-tinfo.patch )
83 -
84 -pkg_setup() {
85 - use python && python-single-r1_pkg_setup
86 -}
87 -
88 -src_prepare() {
89 - cmake-utils_src_prepare
90 -
91 - # fix libdir placement
92 - sed -i \
93 - -e "s:lib/:$(get_libdir)/:g" \
94 - -e "s:lib\":$(get_libdir)\":g" \
95 - CMakeLists.txt || die "sed failed"
96 -
97 - # install only required translations
98 - local i
99 - for i in ${LANGS} ; do
100 - if ! has ${i} ${LINGUAS-${i}} ; then
101 - sed -i \
102 - -e "/${i}.po/d" \
103 - po/CMakeLists.txt || die
104 - fi
105 - done
106 -
107 - # install only required documentation ; en always
108 - for i in $(grep add_subdirectory doc/CMakeLists.txt \
109 - | sed -e 's/.*add_subdirectory(\(..\)).*/\1/' -e '/en/d'); do
110 - if ! has ${i} ${LINGUAS-${i}} ; then
111 - sed -i \
112 - -e '/add_subdirectory('${i}')/d' \
113 - doc/CMakeLists.txt || die
114 - fi
115 - done
116 -
117 - # install docs in correct directory
118 - sed -i "s#\${SHAREDIR}/doc/\${PROJECT_NAME}#\0-${PV}/html#" doc/*/CMakeLists.txt || die
119 -
120 - if [[ ${CHOST} == *-darwin* ]]; then
121 - # fix linking error on Darwin
122 - sed -i "s/+ get_config_var('LINKFORSHARED')//" \
123 - cmake/FindPython.cmake || die
124 - # allow to find the plugins by default
125 - sed -i 's/".so,.dll"/".bundle,.so,.dll"/' \
126 - src/core/wee-config.c || die
127 - fi
128 -}
129 -
130 -src_configure() {
131 - local mycmakeargs=(
132 - -DENABLE_NCURSES=ON
133 - -DENABLE_NLS=$(usex nls)
134 - -DENABLE_GNUTLS=$(usex ssl)
135 - -DENABLE_LARGEFILE=ON
136 - -DENABLE_ALIAS=$(usex alias)
137 - -DENABLE_ASPELL=$(usex spell)
138 - -DENABLE_BUFLIST=$(usex buflist)
139 - -DENABLE_CHARSET=$(usex charset)
140 - -DENABLE_EXEC=$(usex exec)
141 - -DENABLE_FSET=$(usex fset)
142 - -DENABLE_FIFO=$(usex fifo)
143 - -DENABLE_IRC=$(usex irc)
144 - -DENABLE_LOGGER=$(usex logger)
145 - -DENABLE_RELAY=$(usex relay)
146 - -DENABLE_SCRIPT=$(usex scripts)
147 - -DENABLE_SCRIPTS=$(usex scripts)
148 - -DENABLE_PERL=$(usex perl)
149 - -DENABLE_PHP=$(usex php)
150 - -DENABLE_PYTHON=$(usex python)
151 - -DENABLE_RUBY=$(usex ruby)
152 - -DENABLE_LUA=$(usex lua)
153 - -DENABLE_TCL=$(usex tcl)
154 - -DENABLE_GUILE=$(usex guile)
155 - -DENABLE_JAVASCRIPT=OFF
156 - -DENABLE_TRIGGER=$(usex trigger)
157 - -DENABLE_XFER=$(usex xfer)
158 - -DENABLE_DOC=$(usex doc)
159 - -DENABLE_TESTS=$(usex test)
160 - )
161 -
162 - if use python; then
163 - python_export PYTHON_LIBPATH
164 - mycmakeargs+=(
165 - -DPYTHON_EXECUTABLE="${PYTHON}"
166 - -DPYTHON_LIBRARY="${PYTHON_LIBPATH}"
167 - )
168 - fi
169 -
170 - cmake-utils_src_configure
171 -}