community/supercronic: upgrade to 0.2.29

Removed `python3.patch` as /usr/bin/python is now a symlink to python3
This commit is contained in:
Celeste 2023-11-28 03:48:05 +00:00 committed by omni
parent 9f56206a13
commit 246ae9ebc2
2 changed files with 3 additions and 19 deletions

View File

@ -1,7 +1,7 @@
# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=supercronic
pkgver=0.2.27
pkgver=0.2.29
pkgrel=0
pkgdesc="Cron for containers"
url="https://github.com/aptible/supercronic"
@ -9,9 +9,7 @@ arch="all"
license="MIT"
makedepends="go"
checkdepends="python3"
source="supercronic-$pkgver.tar.gz::https://github.com/aptible/supercronic/archive/refs/tags/v$pkgver.tar.gz
python3.patch
"
source="supercronic-$pkgver.tar.gz::https://github.com/aptible/supercronic/archive/refs/tags/v$pkgver.tar.gz"
options="chmod-clean"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
@ -32,6 +30,5 @@ package() {
}
sha512sums="
f725d2c5fcff3c4b3e93cba11113a5a5ebfb2b9497af6807e1f793f4b5707d7562aa650fbb5f123737ecaf71fb63039cfacfde2e0e8212109ee5251f97c18ffd supercronic-0.2.27.tar.gz
fd88eccd0a18d65af57292e430a1c69b2de1d5c845522e1e1b8b217ab11b8d974543da747debbd6cd2c03d0929dcc04c028a0dc95fc27433331a0dec61d1dfae python3.patch
87c1e0958335585bcfea023dac01bb2f4b515bd3866d9b01941fa7f614c77a211825ba86328212f0a5a02a21b0fa8d36767d4886ad5f7a2d8a691dff9bfe6fad supercronic-0.2.29.tar.gz
"

View File

@ -1,13 +0,0 @@
diff --git a/cron/cron_test.go b/cron/cron_test.go
index 9256514..25f17dd 100644
--- a/cron/cron_test.go
+++ b/cron/cron_test.go
@@ -132,7 +132,7 @@ var runJobTestCases = []struct {
},
},
{
- fmt.Sprintf("python -c 'print(\"a\" * %d * 3)'", READ_BUFFER_SIZE), true, &basicContext,
+ fmt.Sprintf("python3 -c 'print(\"a\" * %d * 3)'", READ_BUFFER_SIZE), true, &basicContext,
[]*logrus.Entry{
{Message: "starting", Level: logrus.InfoLevel, Data: noData},
{Message: strings.Repeat("a", READ_BUFFER_SIZE), Level: logrus.InfoLevel, Data: stdoutData},