diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-11-30 00:25:50 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-11-30 00:26:02 +0100 |
commit | 4c9f71af233dc6a3dd50b5e1f13c56820794698c (patch) | |
tree | 29ffd34f879ef3f033b517ec64520387e7baec27 | |
parent | dev-util/source-highlight: drop ${ED} slash stripping (diff) | |
download | gentoo-4c9f71af233dc6a3dd50b5e1f13c56820794698c.tar.gz gentoo-4c9f71af233dc6a3dd50b5e1f13c56820794698c.tar.bz2 gentoo-4c9f71af233dc6a3dd50b5e1f13c56820794698c.zip |
sys-libs/libsmbios: Fixed QA warnings
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r-- | sys-libs/libsmbios/libsmbios-2.4.2-r1.ebuild | 4 | ||||
-rw-r--r-- | sys-libs/libsmbios/libsmbios-2.4.2.ebuild | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys-libs/libsmbios/libsmbios-2.4.2-r1.ebuild b/sys-libs/libsmbios/libsmbios-2.4.2-r1.ebuild index b9eae5cffc96..7d6570c75000 100644 --- a/sys-libs/libsmbios/libsmbios-2.4.2-r1.ebuild +++ b/sys-libs/libsmbios/libsmbios-2.4.2-r1.ebuild @@ -16,6 +16,8 @@ KEYWORDS="~amd64 ~ia64 ~x86" IUSE="doc graphviz nls python static-libs test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + RDEPEND="dev-libs/libxml2 sys-libs/zlib nls? ( virtual/libintl ) @@ -63,7 +65,7 @@ src_install() { if use python ; then python_scriptinto /usr/sbin - python_doscript "${ED%/}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info} + python_doscript "${ED}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info} fi insinto /usr/include/ diff --git a/sys-libs/libsmbios/libsmbios-2.4.2.ebuild b/sys-libs/libsmbios/libsmbios-2.4.2.ebuild index 4a5c54da1b98..d6391e788212 100644 --- a/sys-libs/libsmbios/libsmbios-2.4.2.ebuild +++ b/sys-libs/libsmbios/libsmbios-2.4.2.ebuild @@ -16,6 +16,8 @@ KEYWORDS="amd64 ia64 x86" IUSE="doc graphviz nls python static-libs test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + RDEPEND="dev-libs/libxml2 sys-libs/zlib nls? ( virtual/libintl ) @@ -63,7 +65,7 @@ src_install() { if use python ; then python_scriptinto /usr/sbin - python_doscript "${ED%/}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info} + python_doscript "${ED}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info} fi insinto /usr/include/ |