summaryrefslogtreecommitdiff
path: root/sys-power/powerstat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-27 15:57:47 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-27 15:57:47 +0100
commit3cafd803b6d89f6e823358a8d7f4a97e6d0629e1 (patch)
tree0cec79ef55ddf2fcd790270ae08081a3e158f6e8 /sys-power/powerstat
parentc70685892bc3f0b09aea1216ff278f6095f21281 (diff)
gentoo auto-resync : 27:10:2022 - 15:57:47
Diffstat (limited to 'sys-power/powerstat')
-rw-r--r--sys-power/powerstat/Manifest7
-rw-r--r--sys-power/powerstat/files/powerstat-0.02.17-makefile.patch13
-rw-r--r--sys-power/powerstat/powerstat-0.02.27.ebuild (renamed from sys-power/powerstat/powerstat-0.02.21.ebuild)14
-rw-r--r--sys-power/powerstat/powerstat-9999.ebuild5
4 files changed, 15 insertions, 24 deletions
diff --git a/sys-power/powerstat/Manifest b/sys-power/powerstat/Manifest
index 3770a9194ba7..fdf2442ee95c 100644
--- a/sys-power/powerstat/Manifest
+++ b/sys-power/powerstat/Manifest
@@ -1,7 +1,6 @@
-AUX powerstat-0.02.17-makefile.patch 432 BLAKE2B d917331055d4c33df53e926ad7aa0fb8aec2d45d5d1f80f7dee4ac67ba351f8d5602304ac9d750c182b84ead33cea9a92cecc36bad1f1b1b1ae076461866c05f SHA512 f9da9311295b420bf1101a1a19aaa23617368319b7d825667195d66965ad292b111a2c8779d4a0183e9c1693892d848b686a53a1eb377e61b87f91eb597d71c8
-DIST powerstat-0.02.21.tar.gz 59255 BLAKE2B 4a7416aaa29c89863b4f372a6b48a0f77250d80343a552a2aa882b2caad10cbb5cfed13510c8fcc5b7f5d4f6df5e0e6291d4ca4f46e6776fe0e671aceedd94de SHA512 776baf8092b0d4e791b18679cf397fb6fc4ba482e5a24ca8bd6b787bdab2106cd5f172a5c0233be5cbc139445f3430eb6290cfac2a4502e83928d2a5700be63c
DIST powerstat-0.02.22.tar.gz 59609 BLAKE2B bfb392a37fa5fe9f03360fcad3435c73b34a6a7be642ddf9ecc3f4d83efd38e67b287b53e91a4fd00c6c18700541ed0a2f901c0016e4ab6e2ec937f6cfe9c7bf SHA512 e11131a0c49dd11337444ec69f3f59c0e803d03d2b135f2364bed5b55029e9473621b5d8709e2019f461d56c34fa52c22173a5e55c1175044aca67f18f5c505b
-EBUILD powerstat-0.02.21.ebuild 542 BLAKE2B 0eb98edbb1850fad11328e79e704b6f86ce952943653831aab5fb09f5b9944b9f18c92e4b589b34f1214594566d0af0da29e2c119be1796499a529c3a85243f6 SHA512 61692e5b56403d6ec24f151255bb0ee9d6be024602bd3535825f1b647cf34d16da6d0357ae3a0c53b5ba7330b00d947ba728bced982a0611dcab6e8119ae241a
+DIST powerstat-0.02.27.tar.gz 62629 BLAKE2B d7fe4b517d9a4d91003c7a263ed77bba24457ce20639e420658c3735176952f3283e2bbc64ec597d88b6206e431c29f75ea9b133331a6652f021f667d9466ccc SHA512 3bbab9ed88000b277d75f94d9d3e180944d6c8619cf5e7e8b783c9d303fadde47fe9347e93ac7f54c52687afb456bc26c590712486f589602f93058cd144922f
EBUILD powerstat-0.02.22.ebuild 632 BLAKE2B e8f15c044440806558e577e8daa5016845998c73e7b59117cf987347c5baffb5fb91362415becffcf2dd4e9f282981747643cd4c2e23016680fbefe84b8504dd SHA512 6b1d5a42567efc032203a71d865334ae84007774753b0a94028aae21adf3bc0cf3c5a5a3bed95861fc25107a10427789c3d10b800b67bd7d66729e7682bf8264
-EBUILD powerstat-9999.ebuild 613 BLAKE2B 650b18e1d48b3eb859e73e10e36dda27ff87a39988f515ce0b003f4b4de16c6b674318e9dd1cf9a35890c7341f523a6692ecd4435e0322f61fb403bc11f2a835 SHA512 34b116b524169edddfef4d0a78a044bb26c9aa2486420e979cf98c5c8a6ad6ecb09279cac9c7b8822f3f6f21d112f7f108317bbebaa5a1b9ee3cbae3df179f7b
+EBUILD powerstat-0.02.27.ebuild 624 BLAKE2B 5d645b07d40cc63f4884785a754dae7b3958370f7d479c03293aab2e47080958a4420e47abeb7b63e1409c1a9bb981cd625dd7a25afebbeea34657724ae5dee2 SHA512 436c5ce66b8377eb834ca7f93dc1c42baa8c4d841208fc42dd9f4a6ad698bb3941f8ffdff9c0713688d3bac07834e1b9a60ca5fe8b3104cb9e9ace7aa1fe487b
+EBUILD powerstat-9999.ebuild 605 BLAKE2B 84b72b76b3160c764f7e58210d2b93c71a7e203b11aa84ce5fe74116c1f2b16ae52b8097ecb94b7a2131403cb188c67baefde87189624c0000661fc0752041b8 SHA512 852cc26479e8c519eecd5792c82ff7f2c74b032cda86c06248e75030a561ecc0cee40fe6f35ec2d87beb107ca3742a7ed8deb57c5f3e9962356a50c541ef422c
MISC metadata.xml 889 BLAKE2B 0829f5e6e664ad6ad12b22a9c3c42ef72bbd4abc29221d88c954428eb3c768c80b5f3c65896cac6093e485f4d89d9891f25ce772b12f1239617e2e28db1dd3c2 SHA512 d7b814fb2ac9f2307f0988e877b1a7314f2b2763d87d073dddf0bab3ddc79fe8c095560c46ddf25adc92c5258460864e1b310e77f8410c4d88f0989e7948edd2
diff --git a/sys-power/powerstat/files/powerstat-0.02.17-makefile.patch b/sys-power/powerstat/files/powerstat-0.02.17-makefile.patch
deleted file mode 100644
index 1134a814d027..000000000000
--- a/sys-power/powerstat/files/powerstat-0.02.17-makefile.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/Makefile 2018-06-11 07:57:10.308456253 +0300
-+++ b/Makefile 2018-06-11 07:57:51.277432564 +0300
-@@ -51,8 +51,8 @@
- rm -f powerstat powerstat.o powerstat.8.gz
- rm -f powerstat-$(VERSION).tar.gz
-
--install: powerstat powerstat.8.gz
-+install: powerstat
- mkdir -p ${DESTDIR}${BINDIR}
- cp powerstat ${DESTDIR}${BINDIR}
- mkdir -p ${DESTDIR}${MANDIR}
-- cp powerstat.8.gz ${DESTDIR}${MANDIR}
-+ cp powerstat.8 ${DESTDIR}${MANDIR}
diff --git a/sys-power/powerstat/powerstat-0.02.21.ebuild b/sys-power/powerstat/powerstat-0.02.27.ebuild
index afaafaa50600..70de83228faf 100644
--- a/sys-power/powerstat/powerstat-0.02.21.ebuild
+++ b/sys-power/powerstat/powerstat-0.02.27.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit toolchain-funcs
@@ -13,8 +13,14 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-# Don't compress manpages
-PATCHES=( "${FILESDIR}"/"${PN}"-0.02.17-makefile.patch )
+src_prepare() {
+ default
+
+ # Don't compress manpages
+ sed -i -e '/install:/s/ powerstat.8.gz//' \
+ -e '/cp powerstat.8/s/.gz//' \
+ Makefile || die "sed failed"
+}
src_compile() {
emake CC="$(tc-getCC)"
diff --git a/sys-power/powerstat/powerstat-9999.ebuild b/sys-power/powerstat/powerstat-9999.ebuild
index b3ef9d2bcb8b..2f04b01ecdbd 100644
--- a/sys-power/powerstat/powerstat-9999.ebuild
+++ b/sys-power/powerstat/powerstat-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
EGIT_REPO_URI="https://github.com/ColinIanKing/${PN}.git"
@@ -14,7 +14,6 @@ SRC_URI=""
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS=""
-IUSE=""
src_prepare() {
default