From e30edd47e1804bf3ed1ea7be2eac67f4b8cd9f38 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 27 Oct 2023 02:38:08 +0100 Subject: gentoo auto-resync : 27:10:2023 - 02:38:08 --- dev-util/Manifest.gz | Bin 69608 -> 69606 bytes dev-util/gitlab-runner/Manifest | 18 +- dev-util/gitlab-runner/gitlab-runner-16.2.0.ebuild | 62 --- dev-util/gitlab-runner/gitlab-runner-16.3.2.ebuild | 62 --- dev-util/gitlab-runner/gitlab-runner-16.3.3.ebuild | 62 +++ dev-util/gitlab-runner/gitlab-runner-16.4.1.ebuild | 62 --- dev-util/gitlab-runner/gitlab-runner-16.4.2.ebuild | 62 +++ dev-util/gitlab-runner/gitlab-runner-16.5.0.ebuild | 62 +++ dev-util/ruff/Manifest | 4 +- dev-util/ruff/ruff-0.1.2.ebuild | 467 --------------------- dev-util/ruff/ruff-0.1.3.ebuild | 467 +++++++++++++++++++++ 11 files changed, 664 insertions(+), 664 deletions(-) delete mode 100644 dev-util/gitlab-runner/gitlab-runner-16.2.0.ebuild delete mode 100644 dev-util/gitlab-runner/gitlab-runner-16.3.2.ebuild create mode 100644 dev-util/gitlab-runner/gitlab-runner-16.3.3.ebuild delete mode 100644 dev-util/gitlab-runner/gitlab-runner-16.4.1.ebuild create mode 100644 dev-util/gitlab-runner/gitlab-runner-16.4.2.ebuild create mode 100644 dev-util/gitlab-runner/gitlab-runner-16.5.0.ebuild delete mode 100644 dev-util/ruff/ruff-0.1.2.ebuild create mode 100644 dev-util/ruff/ruff-0.1.3.ebuild (limited to 'dev-util') diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz index ef5c5b749857..42e293d4e344 100644 Binary files a/dev-util/Manifest.gz and b/dev-util/Manifest.gz differ diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest index b25730ed18a0..85518115de56 100644 --- a/dev-util/gitlab-runner/Manifest +++ b/dev-util/gitlab-runner/Manifest @@ -2,13 +2,13 @@ AUX gitlab-runner.confd 688 BLAKE2B 1e99cdca8949a1a085e126c9aa2f23cf15d081087d02 AUX gitlab-runner.initd 1174 BLAKE2B 53b897abb3bc358839843faf56b52d99412c2a08e2e69e1b8258bab907a0da10dedeafd95e6c4e505fd7e8e4d2344dc07b1e693a130fe0d6a3730bf619ee2e75 SHA512 eae2668c5a98a9e111573a2ea193266252e46e073fafd2c101d3a93e65cb9705f78ceab173ca4d3e1c806443345e7f66b7b97c8b644188cf9f86dc4c087d401f AUX gitlab-runner.service 419 BLAKE2B f1a9217eb97d03036eac67569ec6ce6ed91dc2182b20357cf8d17ee0eee01b8d094854b1c76942e0515c2a5923f4d3a1ed044c60b89d8a29c354955f9f666160 SHA512 10cbe1cc0a0b7bb9decde5780bc20caf73892759532df5fc42a7c3b55e141b26957a2986656ac1eb79ce15fd95ee01a184893c22d0dd1ce9117932d0e55ae1b4 AUX gitlab-runner.tmpfile 54 BLAKE2B 4b2849b9c72998409efce207a336dce42d6e9104e72e0071266e03509841bbb5f39ad8e560beb696eee780bfe82efdec5b877120b5606c524d5cd002095e52c4 SHA512 2b5cccd83c8113a8c58011ced9ff5720a5aeaedb8f819c2a71c8fff3b1683ad87b54fa3da67b7e5f91ab35659d2adf5cf792d93ff293eee39924fbb5b9db2d4b -DIST gitlab-runner-16.2.0-deps.tar.xz 200381264 BLAKE2B 61a9d094c251f299e98718883359433545294c8d862872bcf1b4558d721455bd83d867b198af4ec9a217b7e67be3084539955613640ff1829ae6c39a4bc82926 SHA512 9ffbee5f3b179d5a85f3d322b109b538c6c78874b80c5f593fbfe8ccb993fa0b2028665354f10a0774c7a130c12170bc53cc3315f34ec3b6941febc726e113df -DIST gitlab-runner-16.2.0.tar.bz2 1361100 BLAKE2B 19df94ba47188ad696f79df56595f34a2fa7c82971549172a8acc65dd04228aed077d675f85e35e8731ae4b1e72003333ebe667772dce66e6bb17a0ad84a522b SHA512 75097c09b065c8486a5d23219dcb8e36c2baac254e0b09811dd725cf493d959d9b2d3a2c9c130d208a50c1355e19faa749a6d5bb58e1681f782279eca277605e -DIST gitlab-runner-16.3.2-deps.tar.xz 200555948 BLAKE2B f385016525c333d0729509572469aab03858a2e011e1b4afb0a76acc066c8d9e52a58045bae0fd3d575ed3acf5af4be4b16ae2054ea17c8fe387661e531e9ee2 SHA512 4c24e821349928650aa60df938cf08a3befaff747a0cd4d3f3b346e108ff3c5497a31c4bec48a1963eeb95bb387504a1b36b777925e72989b357b7da4afbffd1 -DIST gitlab-runner-16.3.2.tar.bz2 1366612 BLAKE2B 927f113259bf15f09b0b92de4e7ae9b311875a76a3b9190a1ef93c7b385dfd4fb08a792bdd3482af4302aeca8509a4a2fb5e2a6231eb56149b276d68894fe1da SHA512 f80825303f9a009b12a1edf04588acd0daca757dfa184f958cdfa48e37345b3a79d5efe4ed87cc5881e832705999fa971a3179b58e2878c8debf07d66a549240 -DIST gitlab-runner-16.4.1-deps.tar.xz 218819612 BLAKE2B 5f8e69d4ea8e99b86c123bb97a2ff093b0efc453cf711e36e0596987c05cba01c77190fc3777157d4f587e7f99a63ec5f48265bfea8f176c81d4ad7c907b1bcc SHA512 a9e726cbb6a7e31d4d8ddcc67c25eba4d2dd6631413693ab7b7df3a9ac66aa1f9dcc2fca3c95e685b259e409dbeb22b41b89efee292b8d8f95f75b398a16b9aa -DIST gitlab-runner-16.4.1.tar.bz2 1371697 BLAKE2B d1b3b5636e764afa9a619dc9f6af66d4e0edf6e6e0d4e81c78d9b093f86101fe4421e646f264f5776070afbacef8f93de8f4cfbb65360b827ecf68d4d41359f7 SHA512 e12b2cea44295151b9783800837367e61e769d95012c7b3d633a23bd93b85db2f61ffbe4e04b9dcac7a7caabb6511ea956f880774aceeeea36236b11c36d56d3 -EBUILD gitlab-runner-16.2.0.ebuild 1679 BLAKE2B 62770fa3e51a927e2561be654a9c79f95f4b02d03a464beba771d58fa12a594c5e9705726bc2587a9dfee8e06a2cacf3b43760e7adc63ce16614109023aa9471 SHA512 180e3df59766e48a6bbd0185e207e5bb8528afed0ce47ca7dba1b4ef7104688728d2bb2c1b5472b08e5c39fa1f52682ed5dc9bd515cd6026d00fbd6d7e34e18c -EBUILD gitlab-runner-16.3.2.ebuild 1679 BLAKE2B 0bdc93140fc39296733e355117992b1398bc2085a96b41549e322e5179565badceb05145e96c213ef31f81615f19ca958bb7538cf48852298ca2f00903efdf2d SHA512 87e7b7770c34fffe5edd9965f78c86b6d333d9ee31ad786192a1cbb5e773691ba667dcbd32b72a95ebe284f1844b30a2556d4f7e5f3719daa52bc0809210720e -EBUILD gitlab-runner-16.4.1.ebuild 1679 BLAKE2B 8880adec7e50966aed29291718fe8850e05c95d15949e6ad6ea6be6415d6c12e2f335614836cc4878dc5e57356386db051200cf7fd30009897da1b2220ecaf9a SHA512 0e887f1eb00f044ecd9125a0b63186fffe65ec26e20bb5416b78ed670539de6164af4f3ececa257cfd3ac465deef107cd51a370e2eb025a7134debc01aa36ebc +DIST gitlab-runner-16.3.3-deps.tar.xz 200547520 BLAKE2B 432ed7485f66ccd809e6bfbb7e6578fe10d6ef65843549d4fdccd85da2680b2f2b33b5dee829d926a237577996ba77fbd61b9d62e7db439fea47b8577b5c4dbd SHA512 a67a522c7109550e354dd892dc3bfedf73604128fe6d4a865d9dad1bc97dca2f8ae10eb8c85c225ddf9e6ebd285d266fdd26e73588ce72cbf372e2ed53c8cf07 +DIST gitlab-runner-16.3.3.tar.bz2 1367409 BLAKE2B f74556c945fef53d490be2159b62e0ac663e6f71b3cf45bf6002f7c12ec250bff6ed20a3787f2d154dfe01b4dc082caf4650cdfc24002da9742518bf1238717a SHA512 184c616efff930922a33e1c0debd46cc720b355820279f370fe4827e9534c9c1956bb4e2d77489ab773b6a1da985fe2bbf7192c99ba8c39a47997fd3184557da +DIST gitlab-runner-16.4.2-deps.tar.xz 218831500 BLAKE2B e639c446aafd9095e07a6dd64b50e99035b42a9b16caec081ff9fc449df81b044afd57819bc320fcf050ff2b25be8d70aa56def7fdae29676f946b145a9b25a1 SHA512 28480ca7bf6b0c8abf655181530464baabc706513d5dd5bb0c58a6b2bc70ce4190eee3d568873e44fc256e523b27ef28f38af0ff16aa1f8f5b1828c44895d722 +DIST gitlab-runner-16.4.2.tar.bz2 1371196 BLAKE2B 9ff9073fa69a4a04b59d9e3274eec9c86817fd198f3b3ab877352869eb5d5bb0f1aab69fd9500d9f87ac3ca4def9b6d286d82905be4e48014fa902f29dc9c6b5 SHA512 59817206b4d654ec27512fd0713d7d2a879ca4cd6e1abe46e0314c90db49795316f8b6d196f9b5bf11d9ff04efd16f8d580131a39ac20cc21ed4c3bc83e9d5b9 +DIST gitlab-runner-16.5.0-deps.tar.xz 218830692 BLAKE2B 91f1b48239f8da19c93f5b9ec3ba30a1fceb0d17f72395dc85cbbd2a584845977044b920ea19b1d01df62f90cfc86cfcd354e0c3d49b7dba8e216f8cbeae057c SHA512 3d07800019ef800d5db79d7f8696c4fbfb3ffebbe4c9367e0af02d2abcf56e5d09f837b6fdb29e12eb5a04b9a48c00fc0a6e8e955b1fe91c6bc87d0e8c33f2d6 +DIST gitlab-runner-16.5.0.tar.bz2 1373002 BLAKE2B 25ac77ffa71a633cad2b99211acf68595a3ee293f5af3e7cd813ec5a9b70a252413ed99d3b354ef713fb08b9dfeb140e7daa7a3cfd168d4af270034147657dac SHA512 59f03814a44d53c573b336f3eff9d1d273bc6b601e86cc58ca91778705a7897c999bd30e92361aa9294a91596505ca2950d56ad9cc64db7aa40a204ab4a4173d +EBUILD gitlab-runner-16.3.3.ebuild 1679 BLAKE2B 36ffc234c7e3cf3870f524e0c02c8a0e63740682eabdd3260915d198e26e8b5069fe15b535f66530b43d2b96a4fa016a0d973c0fa3fba7f74282adbe5232647b SHA512 a1ae3fcf801073faa206dcd73f9c9eb904a595273dc6b33437774b291fa088b40446d1cd5cb26a3e26daaa0c35d0eb1e2224668f4a9890783e9589d14a387c75 +EBUILD gitlab-runner-16.4.2.ebuild 1679 BLAKE2B 5adad30ce3b1953bad8bc9ab5ab5a09e60f65fcc55b535f2f59b237cda84937a771edeee723481e12832816fde72339be4d91e0b274eb14cbcdc0e76ec392cbb SHA512 231a4136d008a94f1e453c78c22a4f313a072d8840a26d45d7727bfc68564a939a39c7a6483591ce94f8bac73e0f0bd4a9796d8364c06cac85ac4d40e072b1d3 +EBUILD gitlab-runner-16.5.0.ebuild 1679 BLAKE2B c3922fd79181a2507c5a30aac3f1dda41035d8e13fba2a3da8e721ba3a13b44a32cd7ddd6d9e37c8359f07c92e65b97357929c9e17a233f4e391378c4c62c463 SHA512 1272ab8e54e3f210a05282eb55eea050dcbe78611990eab3f8a164d28811f66b62ad90e170975d27de6ecf006312fe61ae3f1e084e6826b1bde1c61941d33852 MISC metadata.xml 338 BLAKE2B dfdcaaee18d3e5492674d3b4055002201342fa4d5b713f88240753002de2bde6244469fe42fe514cb82544d15deacd235cd031dcf71d661a24b26f422c67c392 SHA512 b12a8270df4f07c6b4359150a3b7341d3913a93598153824ec758384758e69667a89de20066735ccc24aea7af07b5c1bdd444fca3193be5402bce5154f90ec79 diff --git a/dev-util/gitlab-runner/gitlab-runner-16.2.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-16.2.0.ebuild deleted file mode 100644 index 4a6bef12c466..000000000000 --- a/dev-util/gitlab-runner/gitlab-runner-16.2.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit go-module systemd tmpfiles - -# make sure this gets updated for every bump -GIT_COMMIT=782e15da - -DESCRIPTION="The official GitLab Runner, written in Go" -HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" -SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" -SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~ppc64 ~riscv" - -COMMON_DEPEND="acct-group/gitlab-runner - acct-user/gitlab-runner" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" -BDEPEND="dev-go/gox" - -DOCS=( docs CHANGELOG.md README.md config.toml.example ) - -S="${WORKDIR}/${PN}-v${PV}" - -src_compile() { - emake \ - BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ - GOX="${EPREFIX}/usr/bin/gox" \ - REVISION=${GIT_COMMIT} \ - VERSION=${PV} \ - runner-bin-host -} - -src_test() { - CI=0 ego test -} - -src_install() { - dobin out/binaries/gitlab-runner - einstalldocs - - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - systemd_dounit "${FILESDIR}/${PN}.service" - newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf - keepdir /{etc,var/log}/${PN} - fperms 0700 /{etc,var/log}/gitlab-runner - fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} -} - -pkg_postinst() { - tmpfiles_process gitlab-runner.conf - [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return - elog - elog "To use the runner, you need to register it with this command:" - elog "# gitlab-runner register" - elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" -} diff --git a/dev-util/gitlab-runner/gitlab-runner-16.3.2.ebuild b/dev-util/gitlab-runner/gitlab-runner-16.3.2.ebuild deleted file mode 100644 index e1098bf410ed..000000000000 --- a/dev-util/gitlab-runner/gitlab-runner-16.3.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit go-module systemd tmpfiles - -# make sure this gets updated for every bump -GIT_COMMIT=77ba32bf - -DESCRIPTION="The official GitLab Runner, written in Go" -HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" -SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" -SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~ppc64 ~riscv" - -COMMON_DEPEND="acct-group/gitlab-runner - acct-user/gitlab-runner" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" -BDEPEND="dev-go/gox" - -DOCS=( docs CHANGELOG.md README.md config.toml.example ) - -S="${WORKDIR}/${PN}-v${PV}" - -src_compile() { - emake \ - BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ - GOX="${EPREFIX}/usr/bin/gox" \ - REVISION=${GIT_COMMIT} \ - VERSION=${PV} \ - runner-bin-host -} - -src_test() { - CI=0 ego test -} - -src_install() { - dobin out/binaries/gitlab-runner - einstalldocs - - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - systemd_dounit "${FILESDIR}/${PN}.service" - newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf - keepdir /{etc,var/log}/${PN} - fperms 0700 /{etc,var/log}/gitlab-runner - fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} -} - -pkg_postinst() { - tmpfiles_process gitlab-runner.conf - [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return - elog - elog "To use the runner, you need to register it with this command:" - elog "# gitlab-runner register" - elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" -} diff --git a/dev-util/gitlab-runner/gitlab-runner-16.3.3.ebuild b/dev-util/gitlab-runner/gitlab-runner-16.3.3.ebuild new file mode 100644 index 000000000000..f42c12a8e07b --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-16.3.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd tmpfiles + +# make sure this gets updated for every bump +GIT_COMMIT=ed9cebb1 + +DESCRIPTION="The official GitLab Runner, written in Go" +HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" +SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc64 ~riscv" + +COMMON_DEPEND="acct-group/gitlab-runner + acct-user/gitlab-runner" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND="dev-go/gox" + +DOCS=( docs CHANGELOG.md README.md config.toml.example ) + +S="${WORKDIR}/${PN}-v${PV}" + +src_compile() { + emake \ + BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ + GOX="${EPREFIX}/usr/bin/gox" \ + REVISION=${GIT_COMMIT} \ + VERSION=${PV} \ + runner-bin-host +} + +src_test() { + CI=0 ego test +} + +src_install() { + dobin out/binaries/gitlab-runner + einstalldocs + + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf + keepdir /{etc,var/log}/${PN} + fperms 0700 /{etc,var/log}/gitlab-runner + fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} +} + +pkg_postinst() { + tmpfiles_process gitlab-runner.conf + [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return + elog + elog "To use the runner, you need to register it with this command:" + elog "# gitlab-runner register" + elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" +} diff --git a/dev-util/gitlab-runner/gitlab-runner-16.4.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-16.4.1.ebuild deleted file mode 100644 index a181955c5c1b..000000000000 --- a/dev-util/gitlab-runner/gitlab-runner-16.4.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit go-module systemd tmpfiles - -# make sure this gets updated for every bump -GIT_COMMIT=d89a789a - -DESCRIPTION="The official GitLab Runner, written in Go" -HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" -SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" -SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~ppc64 ~riscv" - -COMMON_DEPEND="acct-group/gitlab-runner - acct-user/gitlab-runner" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" -BDEPEND="dev-go/gox" - -DOCS=( docs CHANGELOG.md README.md config.toml.example ) - -S="${WORKDIR}/${PN}-v${PV}" - -src_compile() { - emake \ - BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ - GOX="${EPREFIX}/usr/bin/gox" \ - REVISION=${GIT_COMMIT} \ - VERSION=${PV} \ - runner-bin-host -} - -src_test() { - CI=0 ego test -} - -src_install() { - dobin out/binaries/gitlab-runner - einstalldocs - - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - systemd_dounit "${FILESDIR}/${PN}.service" - newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf - keepdir /{etc,var/log}/${PN} - fperms 0700 /{etc,var/log}/gitlab-runner - fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} -} - -pkg_postinst() { - tmpfiles_process gitlab-runner.conf - [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return - elog - elog "To use the runner, you need to register it with this command:" - elog "# gitlab-runner register" - elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" -} diff --git a/dev-util/gitlab-runner/gitlab-runner-16.4.2.ebuild b/dev-util/gitlab-runner/gitlab-runner-16.4.2.ebuild new file mode 100644 index 000000000000..0dae45ce1f9f --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-16.4.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd tmpfiles + +# make sure this gets updated for every bump +GIT_COMMIT=e77af703 + +DESCRIPTION="The official GitLab Runner, written in Go" +HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" +SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc64 ~riscv" + +COMMON_DEPEND="acct-group/gitlab-runner + acct-user/gitlab-runner" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND="dev-go/gox" + +DOCS=( docs CHANGELOG.md README.md config.toml.example ) + +S="${WORKDIR}/${PN}-v${PV}" + +src_compile() { + emake \ + BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ + GOX="${EPREFIX}/usr/bin/gox" \ + REVISION=${GIT_COMMIT} \ + VERSION=${PV} \ + runner-bin-host +} + +src_test() { + CI=0 ego test +} + +src_install() { + dobin out/binaries/gitlab-runner + einstalldocs + + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf + keepdir /{etc,var/log}/${PN} + fperms 0700 /{etc,var/log}/gitlab-runner + fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} +} + +pkg_postinst() { + tmpfiles_process gitlab-runner.conf + [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return + elog + elog "To use the runner, you need to register it with this command:" + elog "# gitlab-runner register" + elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" +} diff --git a/dev-util/gitlab-runner/gitlab-runner-16.5.0.ebuild b/dev-util/gitlab-runner/gitlab-runner-16.5.0.ebuild new file mode 100644 index 000000000000..ebe3b13822fb --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-16.5.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd tmpfiles + +# make sure this gets updated for every bump +GIT_COMMIT=853330f9 + +DESCRIPTION="The official GitLab Runner, written in Go" +HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" +SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc64 ~riscv" + +COMMON_DEPEND="acct-group/gitlab-runner + acct-user/gitlab-runner" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND="dev-go/gox" + +DOCS=( docs CHANGELOG.md README.md config.toml.example ) + +S="${WORKDIR}/${PN}-v${PV}" + +src_compile() { + emake \ + BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ + GOX="${EPREFIX}/usr/bin/gox" \ + REVISION=${GIT_COMMIT} \ + VERSION=${PV} \ + runner-bin-host +} + +src_test() { + CI=0 ego test +} + +src_install() { + dobin out/binaries/gitlab-runner + einstalldocs + + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf + keepdir /{etc,var/log}/${PN} + fperms 0700 /{etc,var/log}/gitlab-runner + fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} +} + +pkg_postinst() { + tmpfiles_process gitlab-runner.conf + [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return + elog + elog "To use the runner, you need to register it with this command:" + elog "# gitlab-runner register" + elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" +} diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest index e2db75ad2b91..950dd8b1a331 100644 --- a/dev-util/ruff/Manifest +++ b/dev-util/ruff/Manifest @@ -215,7 +215,7 @@ DIST regex-syntax-0.8.2.crate 347228 BLAKE2B 211fd1c35ad0f28874d4b4d276e0fb0a27e DIST result-like-0.4.6.crate 4311 BLAKE2B 612ad606f331449907b9c0c99b525aedd53b46b5143b21472eb34d38ac64026498712de7c774183c358531b8296952eb39067c0bc5da07fee5483c28d78de37b SHA512 81b202903a90058a993315253099748c69b9caa42e62121f3fdd63b7d4f22878c81133d0b09f28f3366f180615241cfadf3e055ac86fb9662b9c982e5cc06a91 DIST result-like-derive-0.4.6.crate 5814 BLAKE2B 2598173bb8920e6b8143e034a77eeab17dea379f947098c35054c928db567513da4043d0830a8dbc40d3660e1257b90b18309f36cd83ac03e018921ae48343da SHA512 1097cfd81fe99472c0c308df7ba64ebd20497b0f855b66839c2a81ce8a179a305d04e7eb4d17be9d1dcc3e90f5fec7d59cf6d3093924354a6e02aa4ac2bfcbb5 DIST ring-0.16.20.crate 5082615 BLAKE2B 6011eb7148c2d2ab410e564a06604f4350e07ea030e4d7dcb30574b977f0b0c7e53e09f6e6dbb2d068cdf110262876c48dfaeeef1b691932a056fe149916d934 SHA512 d97d1b08eb796d4c107426ff2c015ab1f221612500c8a57fca8e3f064e8c0f5ae2a5e6071d013313cd9f4be8fed4ba03beae84bd446f56b2b2ca5d483c328191 -DIST ruff-0.1.2.gh.tar.gz 3231384 BLAKE2B 0e87f93f881e4c0e118bdb6f2b7ddcbedb93bf215a7145f829172c1ebb0636d2ffdf149ca1d6b3859e4c83f32f959df74258adb0f07b6d95b103e7fb811bd114 SHA512 805acc81c14b294928462aaeb26385f6b2c2fa5c0712bda6939232cb56d37ef307fc550544c4356c83f4e22169bd8a3c71d95c70a65e4f20f3f65d87eca16026 +DIST ruff-0.1.3.gh.tar.gz 3239278 BLAKE2B 87674455d10bfb5849c4eb21389f216c194cbc4232dbd98b0f6a72f629a048fdaf6e9f7d2693914a3e60d29ffe9357cb0210349198de283ac86430a2b7630a5c SHA512 2dd38a54f1c7945fefd7e74b7ba320dd8f2cbf76a72e1baa841ee696717bc9a7837391f08fa2aa76de2878434585fb7fc02b407aa1125f68570b40cb22eceb05 DIST rust-stemmers-1.2.0.crate 2351301 BLAKE2B d633c0d7091fd05e55a521670104831bed89deef7a2fb7c1eed3528246e65b67a97888fed48b134b10c477e7b95c034e8bbad70500c779b1ff7b0c334de0b37b SHA512 b9453a0984d41e5a692e5ea1a8a7bc6142de30f7b345a269489b8d4ebe3b3d442e7fe5f338c72a790521dea7a2ad9605c0ca8218a6b76d8bc5e19ae02cf711d7 DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9 SHA512 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544 DIST rustix-0.38.10.crate 342427 BLAKE2B 6b65b3b8d7ceba7e606bb1a2b07d447b8110c728c0b3a81838be8b0ad04ff01f4a6d9b6fc1a4725a392eeb0d455a06b6f7abf40b0990a7dbdf4a632199ccde95 SHA512 4329ad809994cb377f2bade3673a3cc829062f4c9977019735b90df17af92c22d3f036a13a3fe7073872dcac8f5e424db7bc56b0d2530e5e7b468a9d92a867c9 @@ -350,5 +350,5 @@ DIST wsl-0.1.0.crate 2135 BLAKE2B 29f2657068fc8994e35fdaf8fe7e1a1fc1ad300d0c5c46 DIST yaml-rust-0.4.5.crate 47783 BLAKE2B 3e888c5cc7afb43eaf3aaab2b6f47b86df164a66eb54d4e166b965cc84b1e06cd17bd992a0d6ee175d9a73a76e2b44a13167246383ed054afcf3cc1710b309cb SHA512 7621dc8dfd5e7d4a7a8805b2a7e8319b63b852367655f2359d4e3e8fec6c4fad52d75c46ce1161e4c674eac0780b757ce9d34e664e304d8d2beec7afa0363ea0 DIST yansi-0.5.1.crate 16525 BLAKE2B 3b5a93b98293daae72f53bf3f13bfc05feba8d5b27921f79595f7448fbcb9a0dfa6cd70f467c5735b914c46b7d3592e6cce080c540a458a904308525eb3aa839 SHA512 7b33005a066cc612408a65df6533e8718d1de43efc0fd57416a19dc2b811497570e6e18f100fb26073565e395e711518c27de7d644ae64777713f1a102eb16d2 DIST yansi-term-0.1.2.crate 14342 BLAKE2B 31a1651bb43644cf880d591a22fe9d899ab0acbc744ced2952f120b4abfa0c42f6513089e34deaff1a453f3a26f9fb78442f016baa9524ccac9b21e4a7ed6ad6 SHA512 ba720e36487871427aaa7139e8aeaf5b2b3f2d1df4798d7e238e323dc3d3220f12202e223f74339201be3466848c372dc1712e1842e5cd6bd51c3dedf76c9ff6 -EBUILD ruff-0.1.2.ebuild 8774 BLAKE2B a9e53e8f43b9e508db477a7d7c69d2255f6f81b6548cc4b7cf677b331ec82897f85c9bcb2da7d805cbce08b6f7ec1d5408e610c56fe21adbad9275e9730caec8 SHA512 e4e96772c20c71f112316b007ff9279c7b261b12fdbd096a7f257a77a9e7d05de3fffccb8941d1235a4019fb2b0a67c7899792e4385b969518fd5d17ad030226 +EBUILD ruff-0.1.3.ebuild 8774 BLAKE2B a9e53e8f43b9e508db477a7d7c69d2255f6f81b6548cc4b7cf677b331ec82897f85c9bcb2da7d805cbce08b6f7ec1d5408e610c56fe21adbad9275e9730caec8 SHA512 e4e96772c20c71f112316b007ff9279c7b261b12fdbd096a7f257a77a9e7d05de3fffccb8941d1235a4019fb2b0a67c7899792e4385b969518fd5d17ad030226 MISC metadata.xml 375 BLAKE2B 46856b904e322f25ebb96268418206fb70b76f22751c5f8c12d0b3fb51a11b91518c42313d8a9f2fbd71dd5a3ca359772f54829a7858148c5f5f03f44fe1dad4 SHA512 ad24b0cafc7adc414a0da36f5b518eacbba3069ac15484504ce063916133e7c15945c04c7c6886e30c75010300598876ab498d5d44c48f66c5ed252f3fd2f36f diff --git a/dev-util/ruff/ruff-0.1.2.ebuild b/dev-util/ruff/ruff-0.1.2.ebuild deleted file mode 100644 index 890529c049b7..000000000000 --- a/dev-util/ruff/ruff-0.1.2.ebuild +++ /dev/null @@ -1,467 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.10 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..12} ) -DISTUTILS_USE_PEP517=maturin - -CRATES=" - Inflector@0.11.4 - adler@1.0.2 - ahash@0.8.3 - aho-corasick@1.1.2 - android-tzdata@0.1.1 - android_system_properties@0.1.5 - anes@0.1.6 - annotate-snippets@0.6.1 - annotate-snippets@0.9.1 - anstream@0.6.4 - anstyle-parse@0.2.1 - anstyle-query@1.0.0 - anstyle-wincon@3.0.1 - anstyle@1.0.2 - anyhow@1.0.75 - argfile@0.1.6 - arrayvec@0.7.4 - ascii-canvas@3.0.0 - assert_cmd@2.0.12 - autocfg@1.1.0 - base64@0.21.3 - bincode@1.3.3 - bit-set@0.5.3 - bit-vec@0.6.3 - bitflags@1.3.2 - bitflags@2.4.0 - bstr@1.6.2 - bumpalo@3.13.0 - cachedir@0.3.0 - cast@0.3.0 - cc@1.0.83 - cfg-if@1.0.0 - chic@1.2.2 - chrono@0.4.31 - ciborium-io@0.2.1 - ciborium-ll@0.2.1 - ciborium@0.2.1 - clap@4.4.6 - clap_builder@4.4.6 - clap_complete@4.4.0 - clap_complete_command@0.5.1 - clap_complete_fig@4.4.0 - clap_complete_nushell@0.1.11 - clap_derive@4.4.2 - clap_lex@0.5.1 - clearscreen@2.0.1 - codspeed-criterion-compat@2.3.0 - codspeed@2.3.0 - colorchoice@1.0.0 - colored@2.0.4 - configparser@3.0.2 - console@0.15.7 - console_error_panic_hook@0.1.7 - console_log@1.0.0 - core-foundation-sys@0.8.4 - countme@3.0.1 - crc32fast@1.3.2 - criterion-plot@0.5.0 - criterion@0.5.1 - crossbeam-channel@0.5.8 - crossbeam-deque@0.8.3 - crossbeam-epoch@0.9.15 - crossbeam-utils@0.8.16 - crunchy@0.2.2 - darling@0.20.3 - darling_core@0.20.3 - darling_macro@0.20.3 - diff@0.1.13 - difflib@0.4.0 - dirs-next@2.0.0 - dirs-sys-next@0.1.2 - dirs-sys@0.3.7 - dirs-sys@0.4.1 - dirs@4.0.0 - dirs@5.0.1 - doc-comment@0.3.3 - drop_bomb@0.1.5 - dyn-clone@1.0.13 - either@1.9.0 - ena@0.14.2 - encode_unicode@0.3.6 - env_logger@0.10.0 - equivalent@1.0.1 - errno-dragonfly@0.1.2 - errno@0.3.3 - fastrand@2.0.0 - fern@0.6.2 - filetime@0.2.22 - fixedbitset@0.4.2 - flate2@1.0.27 - fnv@1.0.7 - form_urlencoded@1.2.0 - fs-err@2.9.0 - fsevent-sys@4.1.0 - getopts@0.2.21 - getrandom@0.2.10 - glob@0.3.1 - globset@0.4.13 - half@1.8.2 - hashbrown@0.12.3 - hashbrown@0.14.0 - heck@0.4.1 - hermit-abi@0.3.2 - hexf-parse@0.2.1 - humantime@2.1.0 - iana-time-zone-haiku@0.1.2 - iana-time-zone@0.1.57 - ident_case@1.0.1 - idna@0.4.0 - ignore@0.4.20 - imara-diff@0.1.5 - imperative@1.0.5 - indexmap@2.0.0 - indicatif@0.17.7 - indoc@2.0.4 - inotify-sys@0.1.5 - inotify@0.9.6 - insta-cmd@0.4.0 - insta@1.34.0 - instant@0.1.12 - is-macro@0.3.0 - is-terminal@0.4.9 - itertools@0.10.5 - itertools@0.11.0 - itoa@1.0.9 - js-sys@0.3.64 - kqueue-sys@1.0.4 - kqueue@1.0.8 - lalrpop-util@0.20.0 - lalrpop@0.20.0 - lazy_static@1.4.0 - lexical-parse-float@0.8.5 - lexical-parse-integer@0.8.6 - lexical-util@0.8.5 - libc@0.2.147 - libcst@1.1.0 - libcst_derive@1.1.0 - libmimalloc-sys@0.1.35 - linked-hash-map@0.5.6 - linux-raw-sys@0.4.5 - lock_api@0.4.10 - log@0.4.20 - matchers@0.1.0 - matches@0.1.10 - memchr@2.6.4 - memoffset@0.9.0 - mimalloc@0.1.39 - minimal-lexical@0.2.1 - miniz_oxide@0.7.1 - mio@0.8.8 - natord@1.0.9 - new_debug_unreachable@1.0.4 - nextest-workspace-hack@0.1.0 - nix@0.26.4 - nom@7.1.3 - notify@6.1.1 - nu-ansi-term@0.46.0 - num-traits@0.2.16 - number_prefix@0.4.0 - once_cell@1.18.0 - oorandom@11.1.3 - option-ext@0.2.0 - os_str_bytes@6.5.1 - overload@0.1.1 - parking_lot@0.12.1 - parking_lot_core@0.9.8 - paste@1.0.14 - path-absolutize@3.1.1 - path-dedot@3.1.1 - pathdiff@0.2.1 - peg-macros@0.8.1 - peg-runtime@0.8.1 - peg@0.8.1 - pep440_rs@0.3.12 - pep508_rs@0.2.1 - percent-encoding@2.3.0 - petgraph@0.6.4 - phf@0.11.2 - phf_codegen@0.11.2 - phf_generator@0.11.2 - phf_shared@0.10.0 - phf_shared@0.11.2 - pin-project-lite@0.2.13 - pmutil@0.5.3 - pmutil@0.6.1 - portable-atomic@1.4.3 - ppv-lite86@0.2.17 - precomputed-hash@0.1.1 - predicates-core@1.0.6 - predicates-tree@1.0.9 - predicates@3.0.3 - pretty_assertions@1.4.0 - proc-macro-error-attr@1.0.4 - proc-macro-error@1.0.4 - proc-macro2@1.0.69 - pyproject-toml@0.7.0 - quick-junit@0.3.3 - quick-xml@0.29.0 - quote@1.0.33 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rayon-core@1.12.0 - rayon@1.8.0 - redox_syscall@0.2.16 - redox_syscall@0.3.5 - redox_users@0.4.3 - regex-automata@0.1.10 - regex-automata@0.3.9 - regex-automata@0.4.3 - regex-syntax@0.6.29 - regex-syntax@0.7.5 - regex-syntax@0.8.2 - regex@1.10.2 - result-like-derive@0.4.6 - result-like@0.4.6 - ring@0.16.20 - rust-stemmers@1.2.0 - rustc-hash@1.1.0 - rustix@0.38.10 - rustls-webpki@0.101.4 - rustls@0.21.7 - rustversion@1.0.14 - ryu@1.0.15 - same-file@1.0.6 - schemars@0.8.15 - schemars_derive@0.8.15 - scoped-tls@1.0.1 - scopeguard@1.2.0 - sct@0.7.0 - seahash@4.1.0 - semver@1.0.20 - serde-wasm-bindgen@0.6.0 - serde@1.0.188 - serde_derive@1.0.188 - serde_derive_internals@0.26.0 - serde_json@1.0.107 - serde_spanned@0.6.3 - serde_test@1.0.176 - serde_with@3.4.0 - serde_with_macros@3.4.0 - sharded-slab@0.1.4 - shellexpand@3.1.0 - shlex@1.2.0 - similar@2.3.0 - siphasher@0.3.11 - smallvec@1.11.1 - spin@0.5.2 - static_assertions@1.1.0 - string_cache@0.8.7 - strsim@0.10.0 - strum@0.25.0 - strum_macros@0.25.3 - syn-ext@0.4.0 - syn@1.0.109 - syn@2.0.38 - tempfile@3.8.0 - term@0.7.0 - termcolor@1.2.0 - terminfo@0.8.0 - termtree@0.4.1 - test-case-core@3.2.1 - test-case-macros@3.2.1 - test-case@3.2.1 - thiserror-impl@1.0.50 - thiserror@1.0.50 - thread_local@1.1.7 - tikv-jemalloc-sys@0.5.4+5.3.0-patched - tikv-jemallocator@0.5.4 - time-core@0.1.0 - time@0.3.20 - tiny-keccak@2.0.2 - tinytemplate@1.2.1 - tinyvec@1.6.0 - tinyvec_macros@0.1.1 - toml@0.7.8 - toml_datetime@0.6.3 - toml_edit@0.19.15 - tracing-attributes@0.1.27 - tracing-core@0.1.32 - tracing-indicatif@0.3.5 - tracing-log@0.1.3 - tracing-subscriber@0.3.17 - tracing@0.1.40 - typed-arena@2.0.2 - unic-char-property@0.9.0 - unic-char-range@0.9.0 - unic-common@0.9.0 - unic-ucd-category@0.9.0 - unic-ucd-version@0.9.0 - unicode-bidi@0.3.13 - unicode-ident@1.0.12 - unicode-normalization@0.1.22 - unicode-width@0.1.11 - unicode-xid@0.2.4 - unicode_names2@1.2.0 - unicode_names2_generator@1.2.0 - untrusted@0.7.1 - ureq@2.8.0 - url@2.4.1 - utf8parse@0.2.1 - uuid-macro-internal@1.4.1 - uuid@1.4.1 - valuable@0.1.0 - version_check@0.9.4 - vt100@0.15.2 - vte@0.11.1 - vte_generate_state_changes@0.1.1 - wait-timeout@0.2.0 - walkdir@2.4.0 - wasi@0.11.0+wasi-snapshot-preview1 - wasm-bindgen-backend@0.2.87 - wasm-bindgen-futures@0.4.37 - wasm-bindgen-macro-support@0.2.87 - wasm-bindgen-macro@0.2.87 - wasm-bindgen-shared@0.2.87 - wasm-bindgen-test-macro@0.3.37 - wasm-bindgen-test@0.3.37 - wasm-bindgen@0.2.87 - web-sys@0.3.64 - webpki-roots@0.25.2 - which@4.4.0 - wild@2.2.0 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.5 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.45.0 - windows-sys@0.48.0 - windows-targets@0.42.2 - windows-targets@0.48.5 - windows@0.48.0 - windows_aarch64_gnullvm@0.42.2 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_msvc@0.42.2 - windows_aarch64_msvc@0.48.5 - windows_i686_gnu@0.42.2 - windows_i686_gnu@0.48.5 - windows_i686_msvc@0.42.2 - windows_i686_msvc@0.48.5 - windows_x86_64_gnu@0.42.2 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnullvm@0.42.2 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_msvc@0.42.2 - windows_x86_64_msvc@0.48.5 - winnow@0.5.15 - wsl@0.1.0 - yaml-rust@0.4.5 - yansi-term@0.1.2 - yansi@0.5.1 -" - -inherit distutils-r1 cargo - -DESCRIPTION="An extremely fast Python linter, written in Rust" -HOMEPAGE=" - https://beta.ruff.rs/docs - https://github.com/charliermarsh/ruff -" -SRC_URI=" - ${CARGO_CRATE_URIS} - https://github.com/charliermarsh/ruff/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="MIT" - -BDEPEND=" - dev-util/patchelf - >=virtual/rust-1.73 -" - -# Dependent crate licenses -LICENSE+=" - Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 - WTFPL-2 -" -SLOT="0" -KEYWORDS="~amd64" - -# libcst -LICENSE+=" - MIT PSF-2 Apache-2.0 -" - -# syn-ext -LICENSE+=" - BSD-2 -" - -# libcst_derive -LICENSE+=" - MIT PSF-2 Apache-2.0 -" - -# ring -LICENSE+=" - ISC SSLeay openssl MIT -" - -QA_FLAGS_IGNORED="usr/bin/.* usr/lib.*/libruff.*.so" - -DOCS=( - BREAKING_CHANGES.md - CODE_OF_CONDUCT.md - CONTRIBUTING.md - README.md - assets - docs -) - -src_prepare() { - sed -r 's:(strip[[:space:]]*=[[:space:]]*)true:\1false:' \ - -i pyproject.toml || die - - [[ -n ${PATCHES[*]} ]] && eapply "${PATCHES[@]}" - eapply_user - - rm -rf docs/{.overrides,gitignore} || die -} - -src_configure() { - export RUSTFLAGS="${RUSTFLAGS}" - cargo_src_configure -} - -src_compile() { - cargo_src_compile - - python_copy_sources - distutils-r1_src_configure - distutils-r1_src_compile - - local solib - for solib in $(find target/$(usex 'debug' 'debug' 'release') -maxdepth 1 -name '*.so'); do - patchelf --set-soname "${solib##*/}" "${solib}" || die - done -} - -src_test() { - cargo_src_test -} - -# placeholder to silence QA warning, tests are in rust -python_test() { :; } - -src_install() { - distutils-r1_src_install - - local releasedir=target/$(usex 'debug' 'debug' 'release') - - dobin ${releasedir}/{ruff{,_dev},flake8-to-ruff,ruff_python_formatter} - dolib.so $(find target/$(usex 'debug' 'debug' 'release') -maxdepth 1 -name '*.so') - - dodoc -r "${DOCS[@]}" -} diff --git a/dev-util/ruff/ruff-0.1.3.ebuild b/dev-util/ruff/ruff-0.1.3.ebuild new file mode 100644 index 000000000000..890529c049b7 --- /dev/null +++ b/dev-util/ruff/ruff-0.1.3.ebuild @@ -0,0 +1,467 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.10 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_USE_PEP517=maturin + +CRATES=" + Inflector@0.11.4 + adler@1.0.2 + ahash@0.8.3 + aho-corasick@1.1.2 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + anes@0.1.6 + annotate-snippets@0.6.1 + annotate-snippets@0.9.1 + anstream@0.6.4 + anstyle-parse@0.2.1 + anstyle-query@1.0.0 + anstyle-wincon@3.0.1 + anstyle@1.0.2 + anyhow@1.0.75 + argfile@0.1.6 + arrayvec@0.7.4 + ascii-canvas@3.0.0 + assert_cmd@2.0.12 + autocfg@1.1.0 + base64@0.21.3 + bincode@1.3.3 + bit-set@0.5.3 + bit-vec@0.6.3 + bitflags@1.3.2 + bitflags@2.4.0 + bstr@1.6.2 + bumpalo@3.13.0 + cachedir@0.3.0 + cast@0.3.0 + cc@1.0.83 + cfg-if@1.0.0 + chic@1.2.2 + chrono@0.4.31 + ciborium-io@0.2.1 + ciborium-ll@0.2.1 + ciborium@0.2.1 + clap@4.4.6 + clap_builder@4.4.6 + clap_complete@4.4.0 + clap_complete_command@0.5.1 + clap_complete_fig@4.4.0 + clap_complete_nushell@0.1.11 + clap_derive@4.4.2 + clap_lex@0.5.1 + clearscreen@2.0.1 + codspeed-criterion-compat@2.3.0 + codspeed@2.3.0 + colorchoice@1.0.0 + colored@2.0.4 + configparser@3.0.2 + console@0.15.7 + console_error_panic_hook@0.1.7 + console_log@1.0.0 + core-foundation-sys@0.8.4 + countme@3.0.1 + crc32fast@1.3.2 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-channel@0.5.8 + crossbeam-deque@0.8.3 + crossbeam-epoch@0.9.15 + crossbeam-utils@0.8.16 + crunchy@0.2.2 + darling@0.20.3 + darling_core@0.20.3 + darling_macro@0.20.3 + diff@0.1.13 + difflib@0.4.0 + dirs-next@2.0.0 + dirs-sys-next@0.1.2 + dirs-sys@0.3.7 + dirs-sys@0.4.1 + dirs@4.0.0 + dirs@5.0.1 + doc-comment@0.3.3 + drop_bomb@0.1.5 + dyn-clone@1.0.13 + either@1.9.0 + ena@0.14.2 + encode_unicode@0.3.6 + env_logger@0.10.0 + equivalent@1.0.1 + errno-dragonfly@0.1.2 + errno@0.3.3 + fastrand@2.0.0 + fern@0.6.2 + filetime@0.2.22 + fixedbitset@0.4.2 + flate2@1.0.27 + fnv@1.0.7 + form_urlencoded@1.2.0 + fs-err@2.9.0 + fsevent-sys@4.1.0 + getopts@0.2.21 + getrandom@0.2.10 + glob@0.3.1 + globset@0.4.13 + half@1.8.2 + hashbrown@0.12.3 + hashbrown@0.14.0 + heck@0.4.1 + hermit-abi@0.3.2 + hexf-parse@0.2.1 + humantime@2.1.0 + iana-time-zone-haiku@0.1.2 + iana-time-zone@0.1.57 + ident_case@1.0.1 + idna@0.4.0 + ignore@0.4.20 + imara-diff@0.1.5 + imperative@1.0.5 + indexmap@2.0.0 + indicatif@0.17.7 + indoc@2.0.4 + inotify-sys@0.1.5 + inotify@0.9.6 + insta-cmd@0.4.0 + insta@1.34.0 + instant@0.1.12 + is-macro@0.3.0 + is-terminal@0.4.9 + itertools@0.10.5 + itertools@0.11.0 + itoa@1.0.9 + js-sys@0.3.64 + kqueue-sys@1.0.4 + kqueue@1.0.8 + lalrpop-util@0.20.0 + lalrpop@0.20.0 + lazy_static@1.4.0 + lexical-parse-float@0.8.5 + lexical-parse-integer@0.8.6 + lexical-util@0.8.5 + libc@0.2.147 + libcst@1.1.0 + libcst_derive@1.1.0 + libmimalloc-sys@0.1.35 + linked-hash-map@0.5.6 + linux-raw-sys@0.4.5 + lock_api@0.4.10 + log@0.4.20 + matchers@0.1.0 + matches@0.1.10 + memchr@2.6.4 + memoffset@0.9.0 + mimalloc@0.1.39 + minimal-lexical@0.2.1 + miniz_oxide@0.7.1 + mio@0.8.8 + natord@1.0.9 + new_debug_unreachable@1.0.4 + nextest-workspace-hack@0.1.0 + nix@0.26.4 + nom@7.1.3 + notify@6.1.1 + nu-ansi-term@0.46.0 + num-traits@0.2.16 + number_prefix@0.4.0 + once_cell@1.18.0 + oorandom@11.1.3 + option-ext@0.2.0 + os_str_bytes@6.5.1 + overload@0.1.1 + parking_lot@0.12.1 + parking_lot_core@0.9.8 + paste@1.0.14 + path-absolutize@3.1.1 + path-dedot@3.1.1 + pathdiff@0.2.1 + peg-macros@0.8.1 + peg-runtime@0.8.1 + peg@0.8.1 + pep440_rs@0.3.12 + pep508_rs@0.2.1 + percent-encoding@2.3.0 + petgraph@0.6.4 + phf@0.11.2 + phf_codegen@0.11.2 + phf_generator@0.11.2 + phf_shared@0.10.0 + phf_shared@0.11.2 + pin-project-lite@0.2.13 + pmutil@0.5.3 + pmutil@0.6.1 + portable-atomic@1.4.3 + ppv-lite86@0.2.17 + precomputed-hash@0.1.1 + predicates-core@1.0.6 + predicates-tree@1.0.9 + predicates@3.0.3 + pretty_assertions@1.4.0 + proc-macro-error-attr@1.0.4 + proc-macro-error@1.0.4 + proc-macro2@1.0.69 + pyproject-toml@0.7.0 + quick-junit@0.3.3 + quick-xml@0.29.0 + quote@1.0.33 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rayon-core@1.12.0 + rayon@1.8.0 + redox_syscall@0.2.16 + redox_syscall@0.3.5 + redox_users@0.4.3 + regex-automata@0.1.10 + regex-automata@0.3.9 + regex-automata@0.4.3 + regex-syntax@0.6.29 + regex-syntax@0.7.5 + regex-syntax@0.8.2 + regex@1.10.2 + result-like-derive@0.4.6 + result-like@0.4.6 + ring@0.16.20 + rust-stemmers@1.2.0 + rustc-hash@1.1.0 + rustix@0.38.10 + rustls-webpki@0.101.4 + rustls@0.21.7 + rustversion@1.0.14 + ryu@1.0.15 + same-file@1.0.6 + schemars@0.8.15 + schemars_derive@0.8.15 + scoped-tls@1.0.1 + scopeguard@1.2.0 + sct@0.7.0 + seahash@4.1.0 + semver@1.0.20 + serde-wasm-bindgen@0.6.0 + serde@1.0.188 + serde_derive@1.0.188 + serde_derive_internals@0.26.0 + serde_json@1.0.107 + serde_spanned@0.6.3 + serde_test@1.0.176 + serde_with@3.4.0 + serde_with_macros@3.4.0 + sharded-slab@0.1.4 + shellexpand@3.1.0 + shlex@1.2.0 + similar@2.3.0 + siphasher@0.3.11 + smallvec@1.11.1 + spin@0.5.2 + static_assertions@1.1.0 + string_cache@0.8.7 + strsim@0.10.0 + strum@0.25.0 + strum_macros@0.25.3 + syn-ext@0.4.0 + syn@1.0.109 + syn@2.0.38 + tempfile@3.8.0 + term@0.7.0 + termcolor@1.2.0 + terminfo@0.8.0 + termtree@0.4.1 + test-case-core@3.2.1 + test-case-macros@3.2.1 + test-case@3.2.1 + thiserror-impl@1.0.50 + thiserror@1.0.50 + thread_local@1.1.7 + tikv-jemalloc-sys@0.5.4+5.3.0-patched + tikv-jemallocator@0.5.4 + time-core@0.1.0 + time@0.3.20 + tiny-keccak@2.0.2 + tinytemplate@1.2.1 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + toml@0.7.8 + toml_datetime@0.6.3 + toml_edit@0.19.15 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing-indicatif@0.3.5 + tracing-log@0.1.3 + tracing-subscriber@0.3.17 + tracing@0.1.40 + typed-arena@2.0.2 + unic-char-property@0.9.0 + unic-char-range@0.9.0 + unic-common@0.9.0 + unic-ucd-category@0.9.0 + unic-ucd-version@0.9.0 + unicode-bidi@0.3.13 + unicode-ident@1.0.12 + unicode-normalization@0.1.22 + unicode-width@0.1.11 + unicode-xid@0.2.4 + unicode_names2@1.2.0 + unicode_names2_generator@1.2.0 + untrusted@0.7.1 + ureq@2.8.0 + url@2.4.1 + utf8parse@0.2.1 + uuid-macro-internal@1.4.1 + uuid@1.4.1 + valuable@0.1.0 + version_check@0.9.4 + vt100@0.15.2 + vte@0.11.1 + vte_generate_state_changes@0.1.1 + wait-timeout@0.2.0 + walkdir@2.4.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.87 + wasm-bindgen-futures@0.4.37 + wasm-bindgen-macro-support@0.2.87 + wasm-bindgen-macro@0.2.87 + wasm-bindgen-shared@0.2.87 + wasm-bindgen-test-macro@0.3.37 + wasm-bindgen-test@0.3.37 + wasm-bindgen@0.2.87 + web-sys@0.3.64 + webpki-roots@0.25.2 + which@4.4.0 + wild@2.2.0 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.5 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.45.0 + windows-sys@0.48.0 + windows-targets@0.42.2 + windows-targets@0.48.5 + windows@0.48.0 + windows_aarch64_gnullvm@0.42.2 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_msvc@0.42.2 + windows_aarch64_msvc@0.48.5 + windows_i686_gnu@0.42.2 + windows_i686_gnu@0.48.5 + windows_i686_msvc@0.42.2 + windows_i686_msvc@0.48.5 + windows_x86_64_gnu@0.42.2 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnullvm@0.42.2 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_msvc@0.42.2 + windows_x86_64_msvc@0.48.5 + winnow@0.5.15 + wsl@0.1.0 + yaml-rust@0.4.5 + yansi-term@0.1.2 + yansi@0.5.1 +" + +inherit distutils-r1 cargo + +DESCRIPTION="An extremely fast Python linter, written in Rust" +HOMEPAGE=" + https://beta.ruff.rs/docs + https://github.com/charliermarsh/ruff +" +SRC_URI=" + ${CARGO_CRATE_URIS} + https://github.com/charliermarsh/ruff/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="MIT" + +BDEPEND=" + dev-util/patchelf + >=virtual/rust-1.73 +" + +# Dependent crate licenses +LICENSE+=" + Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 + WTFPL-2 +" +SLOT="0" +KEYWORDS="~amd64" + +# libcst +LICENSE+=" + MIT PSF-2 Apache-2.0 +" + +# syn-ext +LICENSE+=" + BSD-2 +" + +# libcst_derive +LICENSE+=" + MIT PSF-2 Apache-2.0 +" + +# ring +LICENSE+=" + ISC SSLeay openssl MIT +" + +QA_FLAGS_IGNORED="usr/bin/.* usr/lib.*/libruff.*.so" + +DOCS=( + BREAKING_CHANGES.md + CODE_OF_CONDUCT.md + CONTRIBUTING.md + README.md + assets + docs +) + +src_prepare() { + sed -r 's:(strip[[:space:]]*=[[:space:]]*)true:\1false:' \ + -i pyproject.toml || die + + [[ -n ${PATCHES[*]} ]] && eapply "${PATCHES[@]}" + eapply_user + + rm -rf docs/{.overrides,gitignore} || die +} + +src_configure() { + export RUSTFLAGS="${RUSTFLAGS}" + cargo_src_configure +} + +src_compile() { + cargo_src_compile + + python_copy_sources + distutils-r1_src_configure + distutils-r1_src_compile + + local solib + for solib in $(find target/$(usex 'debug' 'debug' 'release') -maxdepth 1 -name '*.so'); do + patchelf --set-soname "${solib##*/}" "${solib}" || die + done +} + +src_test() { + cargo_src_test +} + +# placeholder to silence QA warning, tests are in rust +python_test() { :; } + +src_install() { + distutils-r1_src_install + + local releasedir=target/$(usex 'debug' 'debug' 'release') + + dobin ${releasedir}/{ruff{,_dev},flake8-to-ruff,ruff_python_formatter} + dolib.so $(find target/$(usex 'debug' 'debug' 'release') -maxdepth 1 -name '*.so') + + dodoc -r "${DOCS[@]}" +} -- cgit v1.2.3