diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-19 21:18:00 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-04-19 21:19:17 +0200 |
commit | 46b7f9586f8cae9482501c719b0e54ea64670a41 (patch) | |
tree | ec3180b025a57b4797ff5b4a4f6681b056e49008 /sys-apps/usb_modeswitch | |
parent | dev-java/commons-lang: Stabilize 3.6 ppc64, #784020 (diff) | |
download | gentoo-46b7f9586f8cae9482501c719b0e54ea64670a41.tar.gz gentoo-46b7f9586f8cae9482501c719b0e54ea64670a41.tar.bz2 gentoo-46b7f9586f8cae9482501c719b0e54ea64670a41.zip |
sys-apps/usb_modeswitch: Drop 2.5.2, EAPI5--
Closes: https://bugs.gentoo.org/783744
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sys-apps/usb_modeswitch')
-rw-r--r-- | sys-apps/usb_modeswitch/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/usb_modeswitch/metadata.xml | 11 | ||||
-rw-r--r-- | sys-apps/usb_modeswitch/usb_modeswitch-2.5.2.ebuild | 67 |
3 files changed, 4 insertions, 76 deletions
diff --git a/sys-apps/usb_modeswitch/Manifest b/sys-apps/usb_modeswitch/Manifest index 27b399c42f6a..14e998a405d4 100644 --- a/sys-apps/usb_modeswitch/Manifest +++ b/sys-apps/usb_modeswitch/Manifest @@ -1,4 +1,2 @@ -DIST usb-modeswitch-2.5.2.tar.bz2 259820 BLAKE2B 263d0b8c4ec79eebb1f79cfd171973f0d6cab96bd361b54c5fed8908745eb4643af935edff788b0913f8ba5ba1edcb683c75aeff6c426437c8436c74f875982b SHA512 ad2a7e5134379664fca83b85803e52ec8e3fe3c2d6c633eb5af3c291c43b15ca4a67198612864de01d146a029ee5c475c8c7dc71d16e3a475b532837c5dd34ea DIST usb-modeswitch-2.6.0.tar.bz2 44971 BLAKE2B c1b7484e2c9df9eb0097b3d560adedafe169bf797cc6d8702a83bf47ebadcb9601f32112b14fb65fe164455c536a0d5f66319d5927d81e59298b7820c9fe9b11 SHA512 43e6d885380602ddaaf771af73a302a7de30f7ae6ea58b2b572a9ad9ec77a453789020595de33a8b04ec209414fe08face2bbf84c67271d7b6b90700face09ef -DIST usb-modeswitch-data-20170806.tar.bz2 32700 BLAKE2B 954aa513a74774cdabb2e3820fa56f1244de74cbfc0adda5309e4dc3bd79c2b6dd2023a5180f8d39f8b496485e1991de2a7fabbb59f6995fc7e0c0bb0b782243 SHA512 818bc9f3d9b75df245bb25f959075041667607e7681bdbca7006ec036613130a0fa5e41da9e939ca510e524a78a7a76aef82ecfbbe19611887b3735987b951cc DIST usb-modeswitch-data-20191128.tar.bz2 34069 BLAKE2B f6bf0c54ea51cda361ef9476875e0311f2c0e839c9e5f0a9ca2a0e5444fa16be65a436d98291e97d338d0416a7367c6abcae1a9877470246ed9f84d25dbe3e06 SHA512 4b5954ad83f7281e42321c16f5cc5b956923cc0e2db5f238cc64b3ea37a419768f01f2e26310f2b4fe9a9a5b1d901517933effd6e6edd23bc9b8d0c039ed0ba2 diff --git a/sys-apps/usb_modeswitch/metadata.xml b/sys-apps/usb_modeswitch/metadata.xml index 1b2d98603b73..f843557871de 100644 --- a/sys-apps/usb_modeswitch/metadata.xml +++ b/sys-apps/usb_modeswitch/metadata.xml @@ -1,11 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <use> - <flag name="jimtcl">Use <pkg>dev-lang/jimtcl</pkg> instead of <pkg>dev-lang/tcl</pkg> for smaller memory footprint</flag> - </use> - <maintainer type="project"> - <email>freedesktop-bugs@gentoo.org</email> - <name>Gentoo Freedesktop Project</name> - </maintainer> + <maintainer type="project"> + <email>freedesktop-bugs@gentoo.org</email> + <name>Gentoo Freedesktop Project</name> + </maintainer> </pkgmetadata> diff --git a/sys-apps/usb_modeswitch/usb_modeswitch-2.5.2.ebuild b/sys-apps/usb_modeswitch/usb_modeswitch-2.5.2.ebuild deleted file mode 100644 index 4606e82c8c49..000000000000 --- a/sys-apps/usb_modeswitch/usb_modeswitch-2.5.2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit epatch linux-info toolchain-funcs udev systemd - -MY_PN=${PN/_/-} -MY_P=${MY_PN}-${PV/_p*} -#DATA_VER=${PV/*_p} -DATA_VER="20170806" - -DESCRIPTION="A tool for controlling 'flip flop' (multiple devices) USB gear like UMTS sticks" -HOMEPAGE="https://www.draisberghof.de/usb_modeswitch/ https://www.draisberghof.de/usb_modeswitch/device_reference.txt" -SRC_URI="https://www.draisberghof.de/${PN}/${MY_P}.tar.bz2 - https://www.draisberghof.de/${PN}/${MY_PN}-data-${DATA_VER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm x86" -IUSE="jimtcl" - -COMMON_DEPEND=" - virtual/udev - virtual/libusb:1 -" -RDEPEND="${COMMON_DEPEND} - jimtcl? ( dev-lang/jimtcl ) - !jimtcl? ( dev-lang/tcl:0 )" # usb_modeswitch script is tcl -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig -" - -S=${WORKDIR}/${MY_P} - -CONFIG_CHECK="~USB_SERIAL" - -src_prepare() { - sed -i -e '/install.*BIN/s:-s::' Makefile || die - epatch "${FILESDIR}/usb_modeswitch.sh-tmpdir.patch" -} - -src_compile() { - emake CC="$(tc-getCC)" -} - -src_install() { - emake \ - DESTDIR="${D}" \ - SYSDIR="${D}/$(systemd_get_unitdir)" \ - UDEVDIR="${D}/$(get_udevdir)" \ - $(usex jimtcl install-shared install) - - # Even if we set SYSDIR above, the Makefile is causing automagic detection of `systemctl` binary, - # which is why we need to force the .service file to be installed: - systemd_dounit ${PN}@.service - - dodoc ChangeLog README - - pushd ../${MY_PN}-data-${DATA_VER} >/dev/null - emake \ - DESTDIR="${D}" \ - RULESDIR="${D}/$(get_udevdir)/rules.d" \ - files-install db-install - docinto data - dodoc ChangeLog README - popd >/dev/null -} |