public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: net-misc/can-utils/
@ 2021-02-27 21:23 Andrew Ammerlaan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2021-02-27 21:23 UTC (permalink / raw
  To: gentoo-commits

commit:     d21ed1af4d2742d718e4db1bda6715080f5d04e8
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Feb 27 21:21:31 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Feb 27 21:21:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d21ed1af

net-misc/can-utils: just call einstalldocs instead of copying it

(or call 'default' in tsrc_install)

Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 net-misc/can-utils/can-utils-2020.02.04.ebuild | 12 +-----------
 net-misc/can-utils/can-utils-2020.12.0.ebuild  | 12 +-----------
 net-misc/can-utils/can-utils-9999-r3.ebuild    | 12 +-----------
 3 files changed, 3 insertions(+), 33 deletions(-)

diff --git a/net-misc/can-utils/can-utils-2020.02.04.ebuild b/net-misc/can-utils/can-utils-2020.02.04.ebuild
index eff9dabb..a1eb63c7 100644
--- a/net-misc/can-utils/can-utils-2020.02.04.ebuild
+++ b/net-misc/can-utils/can-utils-2020.02.04.ebuild
@@ -27,17 +27,7 @@ src_install() {
 
 	emake DESTDIR="${D}" install
 
-	if ! declare -p DOCS >/dev/null 2>&1 ; then
-		local d
-		for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
-				FAQ CREDITS CHANGELOG ; do
-			[[ -s "${d}" ]] && dodoc "${d}"
-		done
-	elif declare -p DOCS | grep -q "^declare -a " ; then
-		dodoc "${DOCS[@]}"
-	else
-		dodoc ${DOCS}
-	fi
+	einstalldocs
 
 	if use systemd ; then
 		systemd_dounit "${FILESDIR}/slcan.service"

diff --git a/net-misc/can-utils/can-utils-2020.12.0.ebuild b/net-misc/can-utils/can-utils-2020.12.0.ebuild
index eff9dabb..a1eb63c7 100644
--- a/net-misc/can-utils/can-utils-2020.12.0.ebuild
+++ b/net-misc/can-utils/can-utils-2020.12.0.ebuild
@@ -27,17 +27,7 @@ src_install() {
 
 	emake DESTDIR="${D}" install
 
-	if ! declare -p DOCS >/dev/null 2>&1 ; then
-		local d
-		for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
-				FAQ CREDITS CHANGELOG ; do
-			[[ -s "${d}" ]] && dodoc "${d}"
-		done
-	elif declare -p DOCS | grep -q "^declare -a " ; then
-		dodoc "${DOCS[@]}"
-	else
-		dodoc ${DOCS}
-	fi
+	einstalldocs
 
 	if use systemd ; then
 		systemd_dounit "${FILESDIR}/slcan.service"

diff --git a/net-misc/can-utils/can-utils-9999-r3.ebuild b/net-misc/can-utils/can-utils-9999-r3.ebuild
index 1af5ac07..12916d25 100644
--- a/net-misc/can-utils/can-utils-9999-r3.ebuild
+++ b/net-misc/can-utils/can-utils-9999-r3.ebuild
@@ -27,17 +27,7 @@ src_install() {
 
 	emake DESTDIR="${D}" install
 
-	if ! declare -p DOCS >/dev/null 2>&1 ; then
-		local d
-		for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
-				FAQ CREDITS CHANGELOG ; do
-			[[ -s "${d}" ]] && dodoc "${d}"
-		done
-	elif declare -p DOCS | grep -q "^declare -a " ; then
-		dodoc "${DOCS[@]}"
-	else
-		dodoc ${DOCS}
-	fi
+	einstalldocs
 
 	if use systemd ; then
 		systemd_dounit "${FILESDIR}/slcan.service"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: net-misc/can-utils/
@ 2021-03-05 12:10 Andrew Ammerlaan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2021-03-05 12:10 UTC (permalink / raw
  To: gentoo-commits

commit:     769760fd3557dbc9e564edb5ac548c107016735d
Author:     Hans Fredrik Nordhaug <hansfn <AT> gmail <DOT> com>
AuthorDate: Thu Mar  4 11:57:29 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Thu Mar  4 12:00:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=769760fd

net-misc/can-utils: add upstream to metadata.xml

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans Fredrik Nordhaug <hansfn <AT> gmail.com>

 net-misc/can-utils/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-misc/can-utils/metadata.xml b/net-misc/can-utils/metadata.xml
index 1c142c04..87dac2fa 100644
--- a/net-misc/can-utils/metadata.xml
+++ b/net-misc/can-utils/metadata.xml
@@ -5,4 +5,7 @@
         <email>hansfn@gmail.com</email>
         <name>Hans Fredrik Nordhaug</name>
     </maintainer>
+    <upstream>
+        <remote-id type="github">linux-can/can-utils</remote-id>
+    </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: net-misc/can-utils/
@ 2021-08-20 18:48 Florian Schmaus
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Schmaus @ 2021-08-20 18:48 UTC (permalink / raw
  To: gentoo-commits

commit:     cfd934366b152f77b33ea9a2ed9af9cc36717bd8
Author:     Hans Fredrik Nordhaug <hansfn <AT> gmail <DOT> com>
AuthorDate: Thu Aug 19 10:50:48 2021 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Aug 19 10:50:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cfd93436

net-misc/can-utils: New version 2021.08.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Hans Fredrik Nordhaug <hansfn <AT> gmail.com>

 net-misc/can-utils/Manifest                   |  1 +
 net-misc/can-utils/can-utils-2021.08.0.ebuild | 33 +++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/net-misc/can-utils/Manifest b/net-misc/can-utils/Manifest
index d6ff0f220..cea2fb656 100644
--- a/net-misc/can-utils/Manifest
+++ b/net-misc/can-utils/Manifest
@@ -1,2 +1,3 @@
 DIST can-utils-2020.02.04.tar.gz 121866 BLAKE2B 64a9e0dbc2e65ef01b6709fc608daecce53592f98c002a46b15a282fff33f52d1d7b34d22ed85f1e2a2eb8a7be6e5ce69a85ba4e2ba19f251994f5022697f474 SHA512 5f12a84b82564da5a47e6dc906bf26f0e56db77ce367b5b72a2820cf18447d78a355d0173c678e33dc0e4cc07ef3a12b3a84d6b016c7ee0b1ac5a7f10daee1c8
 DIST can-utils-2020.12.0.tar.gz 132010 BLAKE2B 626c0b88973c0579728869013f48ec7de4bcd94dd98ed4ae8349a0b71ec2eb9892d267501ff7af58b34ac528f2d6e733aad795582bcc96b03d20ae0710986ea8 SHA512 b9d92b7734611deaf445708aabf4f46f7cf3ad88f46618fbae6821d308b2950da014420b194792e4d2458f396bd85f200a8d10112c10191a98624073b8502c19
+DIST can-utils-2021.08.0.tar.gz 148133 BLAKE2B 591221990aeb2aebb73f4288dba80fa32c65b8c592aa35ccc9cfbd0a8e6a30beb4f5d838811ffd96eba393a7cd3d3fa2aee8ca7378c9c27c694a89da7e9e6ec4 SHA512 367dc19fc653abda0cd6f843f51487f0c538d691542a1a7f5acb87a82b72efb0da5351568de87cd7d3894eaa53b7271e56d8cb66fa2f55079ed0bb1e015dcd99

diff --git a/net-misc/can-utils/can-utils-2021.08.0.ebuild b/net-misc/can-utils/can-utils-2021.08.0.ebuild
new file mode 100644
index 000000000..2dafd5871
--- /dev/null
+++ b/net-misc/can-utils/can-utils-2021.08.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd
+
+DESCRIPTION="SocketCAN userspace utilities and tools"
+HOMEPAGE="https://github.com/linux-can/can-utils"
+SRC_URI="https://github.com/linux-can/can-utils/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+# Default src_install + newconfd and newinitd
+src_install() {
+
+	emake DESTDIR="${D}" install
+
+	einstalldocs
+
+	systemd_dounit "${FILESDIR}/slcan.service"
+	systemd_install_serviced "${FILESDIR}/slcan.service.conf"
+	newconfd "${FILESDIR}/slcand.confd" slcand
+	newinitd "${FILESDIR}/slcand.initd" slcand
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-20 18:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-20 18:48 [gentoo-commits] repo/proj/guru:master commit in: net-misc/can-utils/ Florian Schmaus
  -- strict thread matches above, loose matches on Subject: below --
2021-03-05 12:10 Andrew Ammerlaan
2021-02-27 21:23 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox