diff options
author | layman <layman@localhost> | 2023-11-05 03:01:35 +0000 |
---|---|---|
committer | layman <layman@localhost> | 2023-11-05 03:01:35 +0000 |
commit | 022dc8387c24a6d09b602248adfd6a00c320265c (patch) | |
tree | cb14696ab65cb5cee0037824823f1bb547fe2273 /sys-cluster | |
parent | Bump squirrel-sql, remove old, stable previous (diff) | |
download | portage-022dc8387c24a6d09b602248adfd6a00c320265c.tar.bz2 portage-022dc8387c24a6d09b602248adfd6a00c320265c.tar.xz portage-022dc8387c24a6d09b602248adfd6a00c320265c.zip |
Use distutils for crmsh
Fixes python version install
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/crmsh/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/crmsh/crmsh-4.4.0-r1.ebuild (renamed from sys-cluster/crmsh/crmsh-4.4.0.ebuild) | 22 |
2 files changed, 12 insertions, 12 deletions
diff --git a/sys-cluster/crmsh/Manifest b/sys-cluster/crmsh/Manifest index fc085e6..261da1f 100644 --- a/sys-cluster/crmsh/Manifest +++ b/sys-cluster/crmsh/Manifest @@ -1,3 +1,3 @@ DIST crmsh-4.4.0.tar.gz 1170623 BLAKE2B 574543ac86bbac6b0cd7df021cf6dbb277c1b7ac3d1766926a7005f1e8779138b29cf2b19762c5d6ba3473c19fd784dcf71cc69fcd43c12ac1b4ecafe00d8ac0 SHA512 297d8063c376f0b9497399e65a72cabd8b71c1ea555ce66815c86b94a9f64ff9eddd3bcda37769e756dff6cfbec6f53cfe6deeb2df5e31183ee069174653e293 -EBUILD crmsh-4.4.0.ebuild 962 BLAKE2B f799675d5492601f185cd703832dfceb51a0387d6d80175d59f8299214c4330fd29932fec9d4251ad37e9f74eab914755506b9605ff7ccd6db3e5d42f9fdf2e4 SHA512 13917d079af671b51e3904bce9e7ec0eab8dea38c3cf142333b12ad54d1523201b2e6a0f910067e214671cd14c5f5bd33b677a05ac5a1aa7bf577249cd9f5b89 +EBUILD crmsh-4.4.0-r1.ebuild 916 BLAKE2B bd08a18c76370cc067163c6881f429e07e1c5ccebcefe0f1f11aa42e6dfe009597a692aa71685728d7c2296b1f5d970814259415274ec3e570ed595ab76a20e8 SHA512 61bfc90e14e00139935cd1c730b7ee8a4a0a4507aece3f0a2c86b8f1c2c7c722ef1a165daebeac41000d2f09916eab34035097a817d6d1c09dc7fec31dca2caf MISC metadata.xml 344 BLAKE2B 3dd1aba1bed81c9993d1d9527e5695c4538c32014dc4da3303c602031182421f50629296c69f2f821455d29a0beb01a94b86541421d31462d37b05bbd57b41f0 SHA512 8fddf2b64d5dbdc79ccc206e36e33c2aee2c17ffc1c6012c80431d3d487734538c6efc3e3b6803407535783b1afa91901b929220874f8d20ce2616ad6cdb967d diff --git a/sys-cluster/crmsh/crmsh-4.4.0.ebuild b/sys-cluster/crmsh/crmsh-4.4.0-r1.ebuild index e8cdad5..911c802 100644 --- a/sys-cluster/crmsh/crmsh-4.4.0.ebuild +++ b/sys-cluster/crmsh/crmsh-4.4.0-r1.ebuild @@ -5,16 +5,10 @@ EAPI=7 PYTHON_COMPAT=( python3_{9,10} ) -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI="https://github.com/crmsh/crmsh" - inherit git-3 - S="${WORKDIR}/${PN}-${MY_TREE}" -else - SRC_URI="https://github.com/crmsh/crmsh/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~hppa ~x86" -fi +SRC_URI="https://github.com/crmsh/crmsh/archive/${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~hppa ~x86" -inherit autotools python-r1 +inherit autotools distutils-r1 DESCRIPTION="Pacemaker command line interface for management and configuration" HOMEPAGE="https://crmsh.github.io/" @@ -37,9 +31,15 @@ src_prepare() { default eautoreconf + distutils-r1_src_prepare +} + +src_configure() { + econf + distutils-r1_src_configure } src_install() { - emake DESTDIR="${D}" install - python_foreach_impl python_optimize + distutils-r1_src_install + emake DESTDIR="${D}" install-{data,info,man} } |