dev-perl/Lab-Measurement: Cleanup & adapt to new repo structure
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 15 Jul 2017 22:23:00 +0000 (00:23 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 15 Jul 2017 22:24:29 +0000 (00:24 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-perl/Lab-Measurement/Lab-Measurement-9999.ebuild

index b4a92cb0d0c1bb253f8683541472eb9fc0d24b12..184a38271fdb7e214b5503f513e316491070ece9 100644 (file)
@@ -132,20 +132,8 @@ dzil_to_distdir() {
 
 src_prepare() {
        if [[ ${PV} == 9999 ]]; then
-               # Uses git sources in WORKDIR/rex-git
-               # to generate a CPAN-style tree in ${S}
-               # before letting perl-module.eclass do the rest
-               dzil_to_distdir "${EGIT_CHECKOUT_DIR}/Measurement" "${S}"
+               dzil_to_distdir "${EGIT_CHECKOUT_DIR}" "${S}"
        fi
        cd "${S}" || die "Can't enter build dir"
        perl-module_src_prepare
 }
-
-pkg_postinst() {
-       if ( ! has_version sci-libs/linuxgpib ) && ( ! has_version dev-perl/Lab-VISA ) ; then
-               elog "You may want to install one or more backend driver modules. Supported are"
-               elog "    sci-libs/linuxgpib    Open-source GPIB hardware driver"
-               elog "    dev-perl/Lab-VISA     Bindings for the NI proprietary VISA driver"
-               elog "                          stack (dilfridge overlay)"
-       fi
-}