diff options
Diffstat (limited to 'app-emacs/ert-runner')
-rw-r--r-- | app-emacs/ert-runner/Manifest | 2 | ||||
-rw-r--r-- | app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild | 19 |
2 files changed, 16 insertions, 5 deletions
diff --git a/app-emacs/ert-runner/Manifest b/app-emacs/ert-runner/Manifest index c21a3bc41829..6bd139230953 100644 --- a/app-emacs/ert-runner/Manifest +++ b/app-emacs/ert-runner/Manifest @@ -1,5 +1,5 @@ AUX ert-runner-bin-launcher-fix.patch 875 BLAKE2B 27f860ae14f9b869891ad0ff7ab2a40511231418c5b377db3c04bd7e7366b0ecb6a1d977b93c22cd3759f53986d3d38101c981ee2642e3d036ddd78acd0e14e9 SHA512 750562585a4933a1c9e6c12ddc97e92b5fc987b85013118861f3fb5a25f6317d7838cb8fa2c79ab2c8207d8b64db3e0d39a6aa4f237d84e7e243c0ca374fd4e8 DIST ert-runner-0.8.0.tar.gz 36263 BLAKE2B 8eceabea446ffde87c10cd5257264b61ad2e2617cd9a3243c9be5548298a61d5872b46359a798180e3bf450fc8c474f4651fb834959c30f93df807d4ba006401 SHA512 a8d17c10b7c4db3fb784725c22d382e7cf213c7a6bc320658b64f1aaf9597cfe9cedc436771ade239cc9ad59e0d3457c257ce9342f9bee8a3fd65f76eb6d9e9b -EBUILD ert-runner-0.8.0-r1.ebuild 1607 BLAKE2B 958c99de08ea667e136a51f4a1f4bb6d8a21b815e0feb93cd88bfaa9a91914282159e75a9411393cebde43e9710d5543831c71d9c9f45de3db0b19ec66b15d9b SHA512 2646af19a2e54cc1d295e53ae3d0deb12b3efc6c380769712db8631cb00ce5f4431c28006e39d98943d8a1f45dadce97705e1a65d6fe38e84db2bc2b44e54954 +EBUILD ert-runner-0.8.0-r1.ebuild 1882 BLAKE2B 1c22fa8a0646889299ad174b5085bd51974e36f58c432e51c0e17a79f85a75f6cda42ba18702fb4c42dc03a2aa1e1d87832faf5ba8ab2f5ba438e12a3c005810 SHA512 9b640815cd88aecf970fe39b2b32f8fa5a99099ec232ddf9778445b40410d89b7b72f64f65674725b014bcf58fdfabb53f5f227b9739529fc5dbfc5dea986dae EBUILD ert-runner-0.8.0.ebuild 1008 BLAKE2B 1a0e705f33f0af3cff93f802ac6414d3d2b21f805304006aa7566c93a446bdb288f3be8e39acfee4049b08657d2f7ccfc1749b0190826247126ccf1d42e2912e SHA512 70893206136ae29101d83abe8497f96d4eb6d03f9aeaf072072bcc7754d57f519036b63c5652cae71ac2c13f73b5f8755c226f97bd82513f2d5ee547e9302d8a MISC metadata.xml 455 BLAKE2B cf3956c8743a3ad380f71976e7b7e06e59ecd8def9b7770bd465bad6e1473b25a55f1e58716f8767bcfd6c2966f9ce61954825a690b64808b07b77f00f9acc3b SHA512 8a64a3e7b892ad17614beb7cd829e3a60dc6228bb6a86a3dab3406a1cb89706a3059a9402a6eb070f683eebe01f8269bef35e8559ce4ae617695d10968abb8fc diff --git a/app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild b/app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild index 2124baa14fb0..79295684f877 100644 --- a/app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild +++ b/app-emacs/ert-runner/ert-runner-0.8.0-r1.ebuild @@ -54,7 +54,18 @@ SITEFILE="50${PN}-gentoo.el" src_prepare() { elisp_src_prepare - sed "s|@SITELISP@|${EPREFIX}${SITELISP}/${PN}|" -i "./bin/${PN}" || die + # There are two "ert-runner" launchers, + # the one in "${S}" will be installed, + # the one in ./bin/ert-runner will be used only for tests. + + # For later install. + sed "./bin/${PN}" \ + -e "s|@SITELISP@|${EPREFIX}${SITELISP}/${PN}|" \ + > "./${PN}.bash" \ + || die + + # For tests. + sed -i "./bin/${PN}" -e "s|@SITELISP@|${S}|" || die } src_compile() { @@ -75,13 +86,13 @@ src_test() { chmod +x "${T}/bin/cask" || die local -x PATH="${T}/bin:${PATH}" || die - edo ecukes --debug --reporter spec --script --verbose features + edo ecukes --debug --reporter spec --script --verbose ./features } src_install() { elisp_src_install - elisp-install "${PN}/reporters" reporters/*.el{,c} + elisp-install "${PN}/reporters" ./reporters/*.el{,c} exeinto /usr/bin - doexe "./bin/${PN}" + newexe "./${PN}.bash" "${PN}" } |