diff options
author | Scott Alfter <salfter@catholiccharities.com> | 2022-07-25 10:22:17 -0700 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-08-08 20:46:59 +0200 |
commit | 4dc9caa6ff4caaccfa27a67324725df1d372ecc9 (patch) | |
tree | 75d8459a49d29fc67829abe237d5fabc40ac5a7f /sci-electronics | |
parent | dev-python/numba: drop 0.54.0, 0.55.0 (diff) | |
download | sci-4dc9caa6ff4caaccfa27a67324725df1d372ecc9.tar.gz sci-4dc9caa6ff4caaccfa27a67324725df1d372ecc9.tar.bz2 sci-4dc9caa6ff4caaccfa27a67324725df1d372ecc9.zip |
sci-electronics/minipro: version bump 0.5
Signed-off-by: Scott Alfter <scott@alfter.us>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Closes: https://github.com/gentoo/sci/pull/1163
Diffstat (limited to 'sci-electronics')
-rw-r--r-- | sci-electronics/minipro/Manifest | 2 | ||||
-rw-r--r-- | sci-electronics/minipro/files/minipro-0.5-makefile.patch | 12 | ||||
-rw-r--r-- | sci-electronics/minipro/metadata.xml | 7 | ||||
-rw-r--r-- | sci-electronics/minipro/minipro-0.5.ebuild (renamed from sci-electronics/minipro/minipro-0.4.ebuild) | 19 |
4 files changed, 31 insertions, 9 deletions
diff --git a/sci-electronics/minipro/Manifest b/sci-electronics/minipro/Manifest index 38ce85995..d37c88485 100644 --- a/sci-electronics/minipro/Manifest +++ b/sci-electronics/minipro/Manifest @@ -1 +1 @@ -DIST minipro-0.4.tar.gz 363052 BLAKE2B e6b07c05c1c2841fa862132d598781f3675df61cb41ac447e8dfb9677913126429f4f547afc757f2d32360ddbfc89850f3b234c13b381920d5f726f5fe163dd7 SHA512 cdbcb1a02b475874a32497b9a683a0b4734a16cc75d2b0336a5c5cd26a30b63ca4c115b3cfbe6448a8bb3be95aeb902c79ac256c45789d45abf9e01cda355eda +DIST minipro-0.5.tar.gz 388754 BLAKE2B c22110c269405e7b8ff81fd7c649c2b652bc39da84d92cf9a151da71a1c6d4a202baa6ae13a1fb789a04c8e57f3cc9a60403bcef82896320d95e2507c5960f01 SHA512 e2341213bc43ef53b106211d07a488a142083fe4b6dd6ced0f02595164ce2e0e47f6bdc0a6f6c63f19b9b9438c8f5ad173485953d8a29cb39f89272f8e70dc7c diff --git a/sci-electronics/minipro/files/minipro-0.5-makefile.patch b/sci-electronics/minipro/files/minipro-0.5-makefile.patch new file mode 100644 index 000000000..221643895 --- /dev/null +++ b/sci-electronics/minipro/files/minipro-0.5-makefile.patch @@ -0,0 +1,12 @@ +can't seem to override PREFIX at build time, so patch it +--- minipro-0.5/Makefile 2020-11-04 21:35:31.000000000 -0800 ++++ minipro-0.5/Makefile 2022-07-22 11:42:54.866390621 -0700 +@@ -9,7 +9,7 @@ + + # Normally minipro is installed to /usr/local. If you want to put it + # somewhere else, define that location here. +-PREFIX ?= /usr/local ++PREFIX ?= /usr + MANDIR ?= $(PREFIX)/share/man + + # Some older releases of MacOS need some extra library flags. diff --git a/sci-electronics/minipro/metadata.xml b/sci-electronics/minipro/metadata.xml index 430c9ea1b..438079e92 100644 --- a/sci-electronics/minipro/metadata.xml +++ b/sci-electronics/minipro/metadata.xml @@ -5,6 +5,13 @@ <email>sci-electronics@gentoo.org</email> <name>Gentoo Electronics Project</name> </maintainer> + <maintainer type="person"> + <email>scott@alfter.us</email> + <name>Scott Alfter</name> + </maintainer> + <longdescription lang="en"> + an open-source program for controlling the MiniPRO TL866xx series of chip programmers + </longdescription> <upstream> <remote-id type="github">vdudouyt/minipro</remote-id> </upstream> diff --git a/sci-electronics/minipro/minipro-0.4.ebuild b/sci-electronics/minipro/minipro-0.5.ebuild index ab75d6774..60854d55c 100644 --- a/sci-electronics/minipro/minipro-0.4.ebuild +++ b/sci-electronics/minipro/minipro-0.5.ebuild @@ -1,9 +1,9 @@ -# 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 bash-completion-r1 udev +inherit udev DESCRIPTION="A free and open TL866XX programmer" HOMEPAGE="https://gitlab.com/DavidGriffith/minipro" @@ -16,9 +16,12 @@ KEYWORDS="~amd64" RDEPEND="virtual/libusb:1" DEPEND="${RDEPEND}" -src_install() { - dobin minipro miniprohex - doman man/minipro.1 - udev_dorules udev/*.rules - dobashcomp bash_completion.d/minipro +PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload } |