summaryrefslogtreecommitdiff
path: root/app-admin/cronlocker
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-03 20:56:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-03 20:56:28 +0100
commitfbda87924e6faa7a1919f1a2b4182490bde5ec5c (patch)
treef3114a4ed212a754756adce027aeef3a4a1a2e2a /app-admin/cronlocker
parent3b08f674e3f771b49370edb144dab0958c8cf721 (diff)
gentoo resync : 03.09.2021
Diffstat (limited to 'app-admin/cronlocker')
-rw-r--r--app-admin/cronlocker/Manifest4
-rw-r--r--app-admin/cronlocker/cronlocker-0.5.0.ebuild (renamed from app-admin/cronlocker/cronlocker-0.4.0_p20180710.ebuild)14
2 files changed, 7 insertions, 11 deletions
diff --git a/app-admin/cronlocker/Manifest b/app-admin/cronlocker/Manifest
index dc94ab7a95ca..b8c22c91f1ae 100644
--- a/app-admin/cronlocker/Manifest
+++ b/app-admin/cronlocker/Manifest
@@ -1,3 +1,3 @@
-DIST cronlocker-0.4.0_p20180710.tar.gz 60256 BLAKE2B 62adf6a935e13d97de9776f40a9349f7b3f1758c9d90c11f66759b87d3d8d9dc20a78ecfe0aa7849319be3c8c557dae3d9cc04c87bc6226af5842c72efac0611 SHA512 fc73b572da4fe485f9ba13340b946db40d7e0224643b5fe0b8f56b24560ce4bc32d0a42e3e0e33b979d3aec2910e96ff847249181e7b69776174e2f28d67797c
-EBUILD cronlocker-0.4.0_p20180710.ebuild 628 BLAKE2B 3067c05b36e664cfe2a5e210fd86092283a76907e7ceab953539e74988f5391c10b475de3703460039e4d478ab9dd0c7623552c93ab539f38ae2a8cc9584e21c SHA512 714593254d3d56a1c2f453cf0e158b5b4cac8cd0f3a6d1d3f257c5b5547d81e1571dc29c910e195f6a7651e802bd77ee2970dc5271c816f9ce58cf0a73a0a789
+DIST cronlocker-0.5.0.tar.gz 937557 BLAKE2B ef34fd58e6df60cf2f216ea03dd40b139a60e36ae5a0ee6184e4eb8c1134c6afbbf8c83a8547c5d5b1387597df241c2579b047c720146dd259bb9eda80e1deab SHA512 821c200006fd2972bbb8d850a39348872e18b24ec9d68a90d0b3cce0848bd85d3542253260a4bb5bae3a89fe269b3c35151b829dbda5cacf9c7ab44a14a3c0a9
+EBUILD cronlocker-0.5.0.ebuild 522 BLAKE2B 2ecc9c5720afc3b11ef5cf9ac9083bd57d30d21f403ed47b7928c8c27eda575afa345a18528d6691e91a6911a74ecc78a2078f37a9767d6b7852e2d9318515b1 SHA512 3a55d3f1f4094181436a9aea60dd066803793c8759e786ad8e578f26f5ba1d3e9a5796317894ab9229961ecef8bf2dfd5687398e5a42e02632a7ca0891edc7c8
MISC metadata.xml 248 BLAKE2B 5d9c3678c604aac0f24c5d5015e28f02b9ce83bb6a179755a44adeb3d69e4dd50be4acc30a6317649f5be23bcf13ac210bbe4712aa403e9c4cf2de351b39c941 SHA512 dc5b06a888be6367909895d5891a08189f4657bcee602e5ff0021be2ad3677e58ec7387ff244625be66a142138666e7eac790d2a7b1e298f0ad644725b5e57e0
diff --git a/app-admin/cronlocker/cronlocker-0.4.0_p20180710.ebuild b/app-admin/cronlocker/cronlocker-0.5.0.ebuild
index 0c226b78bbda..711bc7413ca4 100644
--- a/app-admin/cronlocker/cronlocker-0.4.0_p20180710.ebuild
+++ b/app-admin/cronlocker/cronlocker-0.5.0.ebuild
@@ -1,26 +1,22 @@
-# Copyright 2019 Gentoo Authors
+# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
-EGO_PN=github.com/Barzahlen/cronlocker
-HASH=c0ac605
-inherit golang-vcs-snapshot
+EAPI=8
+inherit go-module
DESCRIPTION="synchronize a cron job across multiple hosts using the consul lock feature"
HOMEPAGE="https://github.com/Barzahlen/cronlocker"
-SRC_URI="https://github.com/Barzahlen/${PN}/archive/${HASH}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/Barzahlen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
- pushd src/${EGO_PN} || die
- GOPATH="${S}" emake cronlocker
+ go build -o cronlocker . || die
}
src_install() {
- pushd src/${EGO_PN}
dobin cronlocker
dodoc *.md package/changelog
}