Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/pyzor/
Date: Wed, 02 Sep 2020 05:14:13
Message-Id: 1599023642.c7a0f93c94356ff99100776715f7c038a4bfd06f.sam@gentoo
1 commit: c7a0f93c94356ff99100776715f7c038a4bfd06f
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 2 05:14:02 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 2 05:14:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7a0f93c
7
8 mail-filter/pyzor: rename to 1.0.0_p20200523
9
10 * Version change in case upstream release something other than
11 1.0.1. Could work with _pre, but this is the convention I stick to.
12 * Keep Python 3.6 (can't add Python 3.9 because of mysqlclient)
13 * Minor style changes
14
15 Package-Manager: Portage-3.0.4, Repoman-2.3.23
16 Signed-off-by: Sam James <sam <AT> gentoo.org>
17
18 mail-filter/pyzor/Manifest | 2 +-
19 ...zor-1.0.1_pre20200523.ebuild => pyzor-1.0.0_p20200523.ebuild} | 9 +++++----
20 2 files changed, 6 insertions(+), 5 deletions(-)
21
22 diff --git a/mail-filter/pyzor/Manifest b/mail-filter/pyzor/Manifest
23 index fc35455a69a..418fdd57e1c 100644
24 --- a/mail-filter/pyzor/Manifest
25 +++ b/mail-filter/pyzor/Manifest
26 @@ -1,2 +1,2 @@
27 DIST pyzor-1.0.0.tar.gz 126276 BLAKE2B c60f26c53bf118c88dacbc49ddd414473748af1868b383a9c937ecf3cfe426ecdd60f64388fe7e555bd4641ef445769600e40879279dd544ef9ea32bd0dab6b9 SHA512 b3fb8b2c5261e187a2ab3a5a3b12d221df7de08766c6bb2ad9990c0f23517534871ecc9d5ad529e79b0d0aef8b2b800728320c57435a8c0d8c3f80a4ba0f7e4a
28 -DIST pyzor-f46159bd6519cebcebf59e9334a7920371111d75.tar.gz 138077 BLAKE2B 13ad30f06ce32a24a42dd5aaa21ad2a6700df1bac3dc54a86532748688b094ee0f56a8e28e34336298388c6e0b95868e95d040866c9afa561d867069496608fe SHA512 afe3b14794aea68b1a7d72840257976c7c9f755a6f6dcaaf6ebacab465c176fe2aa84f3fe176006cdbe26ef0b07ed949f75f6ef729f65c604fadf6ce8472da8f
29 +DIST pyzor-1.0.0_p20200523.tar.gz 138077 BLAKE2B 13ad30f06ce32a24a42dd5aaa21ad2a6700df1bac3dc54a86532748688b094ee0f56a8e28e34336298388c6e0b95868e95d040866c9afa561d867069496608fe SHA512 afe3b14794aea68b1a7d72840257976c7c9f755a6f6dcaaf6ebacab465c176fe2aa84f3fe176006cdbe26ef0b07ed949f75f6ef729f65c604fadf6ce8472da8f
30
31 diff --git a/mail-filter/pyzor/pyzor-1.0.1_pre20200523.ebuild b/mail-filter/pyzor/pyzor-1.0.0_p20200523.ebuild
32 similarity index 88%
33 rename from mail-filter/pyzor/pyzor-1.0.1_pre20200523.ebuild
34 rename to mail-filter/pyzor/pyzor-1.0.0_p20200523.ebuild
35 index 690769b4a58..24a836232fd 100644
36 --- a/mail-filter/pyzor/pyzor-1.0.1_pre20200523.ebuild
37 +++ b/mail-filter/pyzor/pyzor-1.0.0_p20200523.ebuild
38 @@ -3,14 +3,14 @@
39
40 EAPI=7
41
42 -PYTHON_COMPAT=( python3_{7,8} )
43 +PYTHON_COMPAT=( python3_{6,7,8} )
44 inherit distutils-r1
45
46 COMMIT="f46159bd6519cebcebf59e9334a7920371111d75"
47
48 DESCRIPTION="A distributed, collaborative spam detection and filtering network"
49 HOMEPAGE="https://github.com/SpamExperts/pyzor"
50 -SRC_URI="https://github.com/SpamExperts/pyzor/archive/${COMMIT}.tar.gz -> ${PN}-${COMMIT}.tar.gz"
51 +SRC_URI="https://github.com/SpamExperts/pyzor/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
52
53 LICENSE="GPL-2"
54 SLOT="0"
55 @@ -40,6 +40,7 @@ REQUIRED_USE="
56 pyzord? ( || ( gdbm redis ) )
57 test? ( gdbm redis )
58 "
59 +
60 S="${WORKDIR}/${PN}-${COMMIT}"
61
62 distutils_enable_sphinx "docs"
63 @@ -53,9 +54,9 @@ src_install() {
64
65 if use pyzord; then
66 dodir /usr/sbin
67 - mv "${D}"/usr/bin/pyzord* "${ED}/usr/sbin" \
68 + mv "${ED}"/usr/bin/pyzord* "${ED}/usr/sbin" \
69 || die "failed to relocate pyzord"
70 else
71 - rm "${D}"/usr/bin/pyzord* || die "failed to remove pyzord"
72 + rm "${ED}"/usr/bin/pyzord* || die "failed to remove pyzord"
73 fi
74 }