Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id AB2AF78107C for ; Sun, 26 Dec 2021 18:49:00 +0000 (UTC) Received: by mail-qv1-f52.google.com with SMTP id fq10so12229015qvb.10 for ; Sun, 26 Dec 2021 10:49:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=93g6ja/bbABdJfXFQcrhYWgz0WX+j7r7/Yx6I3Ebnz4=; b=EMbjKEqhmIZMuZwC+qUB+xFd/bIZucv+8jQ/W9oNOPJrJiIQGpScjjCuf1f1gCzi38 dicMASz5RDyYn1q+q50FUvcahlMpYPdur+ozYZCL7GEPnaVCZZk/YCBQ++ty3DSDfaE3 90B/lNMVqWlc5BcAPqwSI4hBX5BKwVHcL86WccBJJihvx//zIF7n1iekR90FxXoW2LgM OBFlbihnhf7NMCySsKU2ACzHymBe9S+/f1H3Zaii2dlkvojLBSm6EKrvBe23uECVwO0m zglLa1KWrjPtvUPHU7bRC7aW8/WZUCr3L780uerI8UNff6/cFciIhtQDRoj0V+wz3Y+J I3Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=93g6ja/bbABdJfXFQcrhYWgz0WX+j7r7/Yx6I3Ebnz4=; b=iVFIKwsKzPs/22b6x2a78RWLboFKQsZinipsvTB5U/p493XxAarkVFz6IxM0kwFWi5 7aMIFEtaywS2tUUqSVWbF95GOeHqokaLs3zx4ljJ8OQ3nJh+V6ejiwTK+VLw2b4KyJ7V 3ZAK81mNajzi5SKyIZQSVDJ5GQQBmhSQsqHe0w4l6SR9+wgQOGJU1JBISWjAGVllXYho 6PCtd77IGUj5F8+9uVBPN4sfbSvSm7zX6dBeNo5INrpceahBNLtr4WHME6BbMHYxUeC+ W1TkTmWep2xs2LAy+SHaFzSt9dtD//KWoxZic6mOOcnnurwNdHHVbGLc/Wt77Z3S5Tfz POvQ== X-Gm-Message-State: AOAM531Su18owDzNcAizD3Yo9GRcZYn3TVFo+gVQCzfWQiUfFa1vsgnn zKzdgKiYYjy3vpRwoahR4JBpECYy1ucYKQ== X-Google-Smtp-Source: ABdhPJyoffGOisbBnUJ3EoWcd7F89I5Kp1RQyn6WrnyG7ZaPIcBzd4Cg802bRj+cxnbag2LGDnt61A== X-Received: by 2002:a05:6214:d61:: with SMTP id 1mr12805480qvs.125.1640544539269; Sun, 26 Dec 2021 10:48:59 -0800 (PST) Received: from knol.members.linode.com ([2600:3c04::f03c:92ff:fe34:3b3a]) by smtp.gmail.com with ESMTPSA id m1sm11931505qtk.34.2021.12.26.10.48.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Dec 2021 10:48:59 -0800 (PST) From: Thiago Perrotta To: alpine-aports@lists.alpinelinux.org Cc: Thiago Perrotta Subject: [PATCH v2] testing/autotrash: new aport Date: Sun, 26 Dec 2021 13:48:50 -0500 Message-Id: <20211226184850.16144-1-tbperrotta@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211225232408.951-1-tbperrotta@gmail.com> References: <20211225232408.951-1-tbperrotta@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://bneijt.nl/pr/autotrash/ Tool to automatically purge old trashed files Signed-off-by: Thiago Perrotta --- Difference to V1: Use correct SPDX license ID, thanks to Kevin Daudt for the comment. testing/autotrash/APKBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 testing/autotrash/APKBUILD diff --git a/testing/autotrash/APKBUILD b/testing/autotrash/APKBUILD new file mode 100644 index 0000000000..d9b1f18220 --- /dev/null +++ b/testing/autotrash/APKBUILD @@ -0,0 +1,23 @@ +# Contributor: Thiago Perrotta +# Maintainer: Thiago Perrotta +pkgname=autotrash +pkgver=0.4.4 +pkgrel=0 +pkgdesc="Tool to automatically purge old trashed files" +url="https://bneijt.nl/pr/autotrash/" +arch="noarch" +license="GPL-3.0-or-later" +depends="python3 py3-setuptools" +options="!check" # no tests +source="https://files.pythonhosted.org/packages/source/a/autotrash/autotrash-$pkgver.tar.gz" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build +} +sha512sums=" +b39be5a5cf137dde74d104565a536ceb8208d0c900f0b900c94ae7320b5e65b788e90ffbaaa14f90810931997def2aabfe858a8a00e3b7d9252d6738c6036dc3 autotrash-0.4.4.tar.gz +" -- 2.34.1