Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/nginx-unit/
Date: Sun, 10 May 2020 22:42:14
Message-Id: 1589150499.b006dbc603796693307c19aaa420064b72b75441.whissi@gentoo
1 commit: b006dbc603796693307c19aaa420064b72b75441
2 Author: Ralph Seichter <github <AT> seichter <DOT> de>
3 AuthorDate: Thu May 7 16:19:30 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun May 10 22:41:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b006dbc6
7
8 www-servers/nginx-unit: Post-stabilisation cleanup
9
10 Remove obsolete ebuild now that version 1.17.0 has been stabilised.
11
12 Package-Manager: Portage-2.3.99, Repoman-2.3.22
13 Signed-off-by: Ralph Seichter <gentoo <AT> seichter.de>
14 Closes: https://github.com/gentoo/gentoo/pull/15684
15 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
16
17 www-servers/nginx-unit/Manifest | 1 -
18 www-servers/nginx-unit/nginx-unit-1.8.0.ebuild | 65 --------------------------
19 2 files changed, 66 deletions(-)
20
21 diff --git a/www-servers/nginx-unit/Manifest b/www-servers/nginx-unit/Manifest
22 index 5d20a9a4ecc..fdb40a579ef 100644
23 --- a/www-servers/nginx-unit/Manifest
24 +++ b/www-servers/nginx-unit/Manifest
25 @@ -1,2 +1 @@
26 DIST nginx-unit-1.17.0.tar.gz 726928 BLAKE2B d171f2f818302cb0f491ccc3ca93596ee52817647cf1f2f176ebed075cb1dd5772f133d9e925075fe72d826a63b4c4debddace8784612196ebe6b6655d70571b SHA512 4175fc6dd84ad8a3bbdc117d3ce0c7a11c708a7a204ade0bb40f5606f6923e351bb1a8f1f8394c09cdf12fdc20bc927920412dc4b41d3141f76482db047c4bed
27 -DIST nginx-unit-1.8.0.tar.gz 511226 BLAKE2B e396b27954840a5f1ad3a4cd9501a5e5fe769a754c51043da784a2c4596e6acc33089f495bf412a0db086e5c715a51292c7dece004a6512564421a431b6c339e SHA512 1d0ad05343ff70aff4c6e221a36c20df95fa2e2262ae5c69963a9bcb9ef883151e8a2fa9fef29f43ac5489aa5cbb3e9dfd10cf5e7f6d7a98742b490ebf3a0413
28
29 diff --git a/www-servers/nginx-unit/nginx-unit-1.8.0.ebuild b/www-servers/nginx-unit/nginx-unit-1.8.0.ebuild
30 deleted file mode 100644
31 index ac86712d662..00000000000
32 --- a/www-servers/nginx-unit/nginx-unit-1.8.0.ebuild
33 +++ /dev/null
34 @@ -1,65 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -PYTHON_COMPAT=(python3_{6,7})
41 -
42 -inherit python-single-r1
43 -
44 -MY_P="unit-${PV}"
45 -DESCRIPTION="A dynamic web and application server"
46 -HOMEPAGE="https://unit.nginx.org"
47 -SRC_URI="https://unit.nginx.org/download/${MY_P}.tar.gz -> ${P}.tar.gz"
48 -
49 -LICENSE="Apache-2.0"
50 -SLOT="0"
51 -KEYWORDS="amd64"
52 -MY_USE="perl python ruby"
53 -MY_USE_PHP="php7-2 php7-3"
54 -IUSE="${MY_USE} ${MY_USE_PHP}"
55 -REQUIRED_USE="|| ( ${IUSE} ) python? ( ${PYTHON_REQUIRED_USE} )"
56 -
57 -DEPEND="perl? ( dev-lang/perl:= )
58 - php7-2? ( dev-lang/php:7.2[embed] )
59 - php7-3? ( dev-lang/php:7.3[embed] )
60 - python? ( ${PYTHON_DEPS} )
61 - ruby? ( dev-lang/ruby:= )"
62 -RDEPEND="${DEPEND}"
63 -S="${WORKDIR}/${MY_P}"
64 -
65 -pkg_setup() {
66 - use python && python-single-r1_pkg_setup
67 -}
68 -
69 -src_configure() {
70 - ./configure \
71 - --control=unix:/run/${PN}.sock \
72 - --ld-opt="${LDFLAGS}" \
73 - --log=/var/log/${PN} \
74 - --modules=$(get_libdir)/${PN} \
75 - --pid=/run/${PN}.pid \
76 - --prefix=/usr \
77 - --state=/var/lib/${PN} || die "Core configuration failed"
78 - for flag in ${MY_USE} ; do
79 - if use ${flag} ; then
80 - ./configure ${flag} || die "Module configuration failed: ${flag}"
81 - fi
82 - done
83 - for flag in ${MY_USE_PHP} ; do
84 - if use ${flag} ; then
85 - local php_slot="/usr/$(get_libdir)/${flag/-/.}"
86 - ./configure php \
87 - --module=${flag} \
88 - --config=${php_slot}/bin/php-config \
89 - --lib-path=${php_slot}/$(get_libdir) || die "Module configuration failed: ${flag}"
90 - fi
91 - done
92 -}
93 -
94 -src_install() {
95 - default
96 - diropts -m 0770
97 - keepdir /var/lib/${PN}
98 - newinitd "${FILESDIR}/${PN}.initd" ${PN}
99 -}