* [gentoo-commits] repo/gentoo:master commit in: dev-libs/legousbtower/
@ 2018-01-19 15:19 Brian Evans
0 siblings, 0 replies; 4+ messages in thread
From: Brian Evans @ 2018-01-19 15:19 UTC (permalink / raw
To: gentoo-commits
commit: 63add640f47c80032de94671d41b711e8eb60ddc
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 15:19:13 2018 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 15:19:13 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63add640
dev-libs/legousbtower: Mark all stable to satisfy current installs and repoman
Package-Manager: Portage-2.3.19, Repoman-2.3.6
dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild b/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild
index f8553d8ef6f..3745344dc35 100644
--- a/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild
+++ b/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild
@@ -11,7 +11,7 @@ HOMEPAGE="http://legousb.sourceforge.net/"
SLOT="0"
LICENSE="MPL-1.0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ppc x86"
IUSE=""
src_configure() {
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/legousbtower/
@ 2018-01-19 15:19 Brian Evans
0 siblings, 0 replies; 4+ messages in thread
From: Brian Evans @ 2018-01-19 15:19 UTC (permalink / raw
To: gentoo-commits
commit: a42f289d6ee90f6598147d1679c069754a9577da
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 15:17:49 2018 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 15:17:49 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a42f289d
dev-libs/legousbtower: Revbump for EAPI and eclass
Previously, it looked in the linux-mod eclass to check KV_MINOR = 4
as it expected 2.x to still be current.
Now it uses the modern linux-info eclass and compares with kernel_is
Package-Manager: Portage-2.3.19, Repoman-2.3.6
...r-0.5.4.ebuild => legousbtower-0.5.4-r1.ebuild} | 24 ++++++++++++++--------
1 file changed, 15 insertions(+), 9 deletions(-)
diff --git a/dev-libs/legousbtower/legousbtower-0.5.4.ebuild b/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild
similarity index 71%
rename from dev-libs/legousbtower/legousbtower-0.5.4.ebuild
rename to dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild
index 4f09ec70ef7..f8553d8ef6f 100644
--- a/dev-libs/legousbtower/legousbtower-0.5.4.ebuild
+++ b/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-inherit linux-mod
+EAPI=6
+
+inherit linux-info
DESCRIPTION="The lego mindstorms usb tower headers and/or modules"
SRC_URI="mirror://sourceforge/legousb/${P}.tar.gz"
@@ -9,20 +11,24 @@ HOMEPAGE="http://legousb.sourceforge.net/"
SLOT="0"
LICENSE="MPL-1.0"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
+src_configure() {
+ if kernel_is -lt 2 5 ; then
+ econf
+ fi
+}
src_compile()
{
- if [ ${KV_MINOR} -eq 4 ] ; then
- econf || die "Configuration failed"
- emake || die "Compilation failed"
+ if kernel_is -lt 2 5 ; then
+ emake
fi
}
src_install() {
- if [ ${KV_MINOR} -eq 4 ] ; then
- einstall || die "Make Install Failed"
+ if kernel_is -lt 2 5 ; then
+ einstall
else
insinto /usr/include/LegoUSB
doins include/legousbtower.h
@@ -33,7 +39,7 @@ src_install() {
}
pkg_postinst() {
- if [ ${KV_MINOR} -eq 4 ] ; then
+ if kernel_is -lt 2 5 ; then
elog "You are using the 2.4 kernel series."
elog "These are unsupported."
else
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/legousbtower/
@ 2018-01-19 16:05 Brian Evans
0 siblings, 0 replies; 4+ messages in thread
From: Brian Evans @ 2018-01-19 16:05 UTC (permalink / raw
To: gentoo-commits
commit: 3878ff1e05b14bbb805c40186484bb24f6045897
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 19 16:05:30 2018 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 16:05:30 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3878ff1e
dev-libs/legousbtower: Drop kernel 2.4 support
Package-Manager: Portage-2.3.19, Repoman-2.3.6
dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild | 37 ++++++----------------
1 file changed, 9 insertions(+), 28 deletions(-)
diff --git a/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild b/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild
index 3745344dc35..51fdecaf027 100644
--- a/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild
+++ b/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit linux-info
+inherit udev
DESCRIPTION="The lego mindstorms usb tower headers and/or modules"
SRC_URI="mirror://sourceforge/legousb/${P}.tar.gz"
@@ -14,37 +14,18 @@ LICENSE="MPL-1.0"
KEYWORDS="amd64 ppc x86"
IUSE=""
-src_configure() {
- if kernel_is -lt 2 5 ; then
- econf
- fi
-}
-src_compile()
-{
- if kernel_is -lt 2 5 ; then
- emake
- fi
-}
+src_configure() { :; }
+src_compile() { :; }
src_install() {
- if kernel_is -lt 2 5 ; then
- einstall
- else
- insinto /usr/include/LegoUSB
- doins include/legousbtower.h
- insinto /lib/udev/rules.d
- doins "${FILESDIR}"/20-lego.rules
- fi
+ insinto /usr/include/LegoUSB
+ doins include/legousbtower.h
+ udev_dorules "${FILESDIR}"/20-lego.rules
dodoc README
}
pkg_postinst() {
- if kernel_is -lt 2 5 ; then
- elog "You are using the 2.4 kernel series."
- elog "These are unsupported."
- else
- elog "You are using the 2.6 kernel series."
- elog "This package only provides the header file."
- elog "You need to enable the lego usb tower option in the kernel."
- fi
+ elog "This package only provides the header file."
+ elog "You need to enable the lego usb tower option in the kernel."
+ elog "The kernel 2.4 module is no longer built or supported"
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/legousbtower/
@ 2019-09-12 18:03 Michał Górny
0 siblings, 0 replies; 4+ messages in thread
From: Michał Górny @ 2019-09-12 18:03 UTC (permalink / raw
To: gentoo-commits
commit: b006aef666fefa58de5ccb6e4ead83922c8b1539
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 12 17:41:03 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 12 18:03:16 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b006aef6
dev-libs/legousbtower: Correct LICENSE, restrict mirror&bindist
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild b/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild
index 51fdecaf027..f24ec9097bb 100644
--- a/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild
+++ b/dev-libs/legousbtower/legousbtower-0.5.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -10,9 +10,12 @@ SRC_URI="mirror://sourceforge/legousb/${P}.tar.gz"
HOMEPAGE="http://legousb.sourceforge.net/"
SLOT="0"
-LICENSE="MPL-1.0"
+# The specified license is wrong as the file uses code from proprietary
+# SDK. http://legousb.sourceforge.net/legousbtower/index.shtml
+LICENSE="all-rights-reserved"
KEYWORDS="amd64 ppc x86"
IUSE=""
+RESTRICT="bindist mirror"
src_configure() { :; }
src_compile() { :; }
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-09-12 18:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-19 15:19 [gentoo-commits] repo/gentoo:master commit in: dev-libs/legousbtower/ Brian Evans
-- strict thread matches above, loose matches on Subject: below --
2018-01-19 15:19 Brian Evans
2018-01-19 16:05 Brian Evans
2019-09-12 18:03 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox