Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 80D90780DE2 for ; Sat, 25 Dec 2021 23:30:03 +0000 (UTC) Received: by mail-qt1-f176.google.com with SMTP id a1so10404109qtx.11 for ; Sat, 25 Dec 2021 15:30:03 -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:mime-version :content-transfer-encoding; bh=cWCH/vwjGbIl0/GpSsTpF/1bW05Prt5Jkp2PxdB5WC0=; b=BjonUMc24h0PDf8v5+5OgPDzFEZd0GZ2aJhxFCp/vGf4D59SagNFdXsYURmBx4nZUq aR4BeZ2WJkoQ8ytznGXp+NZRGl8fyBL3Eihpwc4mH8wBsSAK2teFK07YLgTJN20OYKcb bn8oeEC4WuEzU10nlIq7KB/SEvpulGmBc5rDKXKe+JaW6Af8SzW6rejKd7lPn9LLeit5 R3y1x8+LfvTZEvbfCufrvUlqUsh7JB7T4eNaQyogB0hMFdQORjQsq3tKRP305+z91dRd y1IZJ48Ek1IVLPq4s3DxCL2XgsIIi/+wqQqgr4UsWLvhgfc5JLyXPlsLVC3SXctNRgqe nlxg== 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:mime-version :content-transfer-encoding; bh=cWCH/vwjGbIl0/GpSsTpF/1bW05Prt5Jkp2PxdB5WC0=; b=YFV0HBHnJWX+13P6vMuapyNbJsERi3pYYCjoYY0cP+15zKGPoi1ThDX1tQlUNlu4mO tpgG7c30eChCI9GFd8HCdsqKE4RP0qprYXs6rodUgpDFqZCu40P/mPLZYKc4/7emsYyi Qihf56tM7c3N2kNeoL2n/2ik8n2a+4iylYMEnpKS/KgFbAF/GTAYSPYkHXx1ZfhaHGLO hKJd6N6bosjtr6FU37+OISuvhKrxXqI80yNJSwcr5bdC5cp12ZLvU5ajcoLcdIVSTmQs 7vlZWtkqVE8PCK42k0mEaHxd83+r1pDQvXvo016zFv+F7G+rwV99WrRNLa0d4ISPyhxX g2iw== X-Gm-Message-State: AOAM531YusDGDUzVZIf/qhX3MdcGn8Ol0YG7bgBfCMX5gGjz2LcKV4OP gCW9Ux8MbCMnBVQrr88xNQNkYZ+GdqWaow== X-Google-Smtp-Source: ABdhPJxq4buXolvJ1/UYkwpKZlE1Yu0oL31TWD/wffaYZBHZsCnMtzX2WDroqlekZqNXcs+MgmcMgw== X-Received: by 2002:a05:620a:408b:: with SMTP id f11mr7981847qko.397.1640474668036; Sat, 25 Dec 2021 15:24:28 -0800 (PST) Received: from knol.members.linode.com ([2600:3c04::f03c:92ff:fe34:3b3a]) by smtp.gmail.com with ESMTPSA id t18sm10032172qkp.84.2021.12.25.15.24.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Dec 2021 15:24:27 -0800 (PST) From: Thiago Perrotta To: alpine-aports@lists.alpinelinux.org Cc: Thiago Perrotta Subject: [PATCH] testing/autotrash: new aport Date: Sat, 25 Dec 2021 18:24:08 -0500 Message-Id: <20211225232408.951-1-tbperrotta@gmail.com> X-Mailer: git-send-email 2.34.1 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 --- 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..4cf1bb33a8 --- /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="GPLv3" +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