Thiago Perrotta: 2 testing/autotrash: new aport testing/autotrash: new aport 2 files changed, 46 insertions(+), 0 deletions(-)
Copy & paste the following snippet into your terminal to import this patchset into git:
curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3843/mbox | git am -3Learn more about email & git
https://bneijt.nl/pr/autotrash/ Tool to automatically purge old trashed files Signed-off-by: Thiago Perrotta <tbperrotta@gmail.com> --- 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 <tbperrotta@gmail.com> +# Maintainer: Thiago Perrotta <tbperrotta@gmail.com> +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"
Kevin Daudt <no-reply@dispatch.alpinelinux.org>Please use a valid [SPDX license](https://spdx.org/licenses/) specifier, which means either `GPL-3.0-or-later` or `GPL-3.0-only`. -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28868#note_201220
+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
Sorry to bother you @mailinglist-bot, but we've detected that this merge request hasn't seen any recent activity. If you need help or want to discuss your approach with developers you can ping `@team/mentors`. You can also ask on IRC on `#alpine-devel` on irc.oftc.net. If no further activity occurs in this MR, Alpine developers may close it in the future. Thanks for your contribution. -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28868#note_210360
Thiago Perrotta <no-reply@dispatch.alpinelinux.org>Since the updated email patch doesn't update the MR, this has been superseded by a new MR: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/30183 -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28868#note_210712
https://bneijt.nl/pr/autotrash/ Tool to automatically purge old trashed files Signed-off-by: Thiago Perrotta <tbperrotta@gmail.com> --- 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 <tbperrotta@gmail.com> +# Maintainer: Thiago Perrotta <tbperrotta@gmail.com> +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