Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/systemd-cron/
Date: Wed, 02 Mar 2022 01:04:28
Message-Id: 1646182965.0088186492c4c050ecfc1b4ea64cff27ba48cb40.mattst88@gentoo
1 commit: 0088186492c4c050ecfc1b4ea64cff27ba48cb40
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 2 01:02:39 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 2 01:02:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00881864
7
8 sys-process/systemd-cron: Fix version
9
10 Upstream appears to have typo'd the tag name. The VERSION and CHANGELOG
11 files show that the version is supposed to be 1.5.18.
12
13 Bug: https://bugs.gentoo.org/832053
14 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
15
16 sys-process/systemd-cron/Manifest | 2 +-
17 .../{systemd-cron-1.15.18.ebuild => systemd-cron-1.5.18.ebuild} | 7 +++++--
18 2 files changed, 6 insertions(+), 3 deletions(-)
19
20 diff --git a/sys-process/systemd-cron/Manifest b/sys-process/systemd-cron/Manifest
21 index fa6327c4f890..739e06fb5a1b 100644
22 --- a/sys-process/systemd-cron/Manifest
23 +++ b/sys-process/systemd-cron/Manifest
24 @@ -1,2 +1,2 @@
25 -DIST systemd-cron-1.15.18.tar.gz 33056 BLAKE2B a400d0169c2dcb68c91358bd2af70dca133749dab801dc87b4cdf05b8ccebe5e250466bfce93938e575aa2d832af9a4977be2f02767d2d808e45b11888277c95 SHA512 7de6a5d05ee1d73c5348ecedf6029b498b26e8cdeecce87b58f206a1719c4a90fba853eb99b860734174469c99c75a4a6fa33c13b4aac45fdc71de7f3231b9e3
26 DIST systemd-cron-1.5.17.tar.gz 32319 BLAKE2B 763cccebcaf98998d0e787352b4d3f2bc28a7e6ef0e800fe937fb2971a5dd8af2d9880076eadb5c3eddc23957d9b6b824b87a7a8be59c241f402ad78abed248e SHA512 20f93c108689efef5a72976509ffd567ed85dd1fada5074030018b5d560cc49f60337bdf888d1d75f6ce8b9b72e6314d754c78c19fa79d584740430e44240ef3
27 +DIST systemd-cron-1.5.18.tar.gz 33056 BLAKE2B a400d0169c2dcb68c91358bd2af70dca133749dab801dc87b4cdf05b8ccebe5e250466bfce93938e575aa2d832af9a4977be2f02767d2d808e45b11888277c95 SHA512 7de6a5d05ee1d73c5348ecedf6029b498b26e8cdeecce87b58f206a1719c4a90fba853eb99b860734174469c99c75a4a6fa33c13b4aac45fdc71de7f3231b9e3
28
29 diff --git a/sys-process/systemd-cron/systemd-cron-1.15.18.ebuild b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
30 similarity index 92%
31 rename from sys-process/systemd-cron/systemd-cron-1.15.18.ebuild
32 rename to sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
33 index cbf442435aaf..09890a45a82a 100644
34 --- a/sys-process/systemd-cron/systemd-cron-1.15.18.ebuild
35 +++ b/sys-process/systemd-cron/systemd-cron-1.5.18.ebuild
36 @@ -2,12 +2,13 @@
37 # Distributed under the terms of the GNU General Public License v2
38
39 EAPI=8
40 -PYTHON_COMPAT=( pypy3 python3_{7,8,9,10} )
41 +PYTHON_COMPAT=( pypy3 python3_{8..10} )
42 inherit python-single-r1 systemd
43
44 DESCRIPTION="systemd units to create timers for cron directories and crontab"
45 HOMEPAGE="https://github.com/systemd-cron/systemd-cron/"
46 -SRC_URI="https://github.com/systemd-cron/systemd-cron/archive/refs/tags/v${PV}.tar.gz -> systemd-cron-${PV}.tar.gz"
47 +MY_PV="1.15.18"
48 +SRC_URI="https://github.com/systemd-cron/${PN}/archive/v${MY_PV}.tar.gz -> systemd-cron-${PV}.tar.gz"
49
50 LICENSE="MIT"
51 SLOT="0"
52 @@ -27,6 +28,8 @@ DEPEND="sys-process/cronbase
53
54 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
55
56 +S="${WORKDIR}/${PN}-${MY_PV}"
57 +
58 src_prepare() {
59 python_fix_shebang --force "${S}/src/bin"