~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
5 4

[PATCH] testing/urlwatch: new aport

Thiago Perrotta <tbperrotta@gmail.com>
Details
Message ID
<20211229185619.17321-1-tbperrotta@gmail.com>
DKIM signature
missing
Download raw message
Patch: +31 -0
https://thp.io/2008/urlwatch/
Tool for monitoring webpages for updates

Signed-off-by: Thiago Perrotta <tbperrotta@gmail.com>
---
Ensure to merge py3-minidb before urlwatch.

This aport build is currently expected to fail because py3-minidb
doesn't exist at HEAD.

I am sending a new aport for it separately.

 testing/urlwatch/APKBUILD | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 testing/urlwatch/APKBUILD

diff --git a/testing/urlwatch/APKBUILD b/testing/urlwatch/APKBUILD
new file mode 100644
index 0000000000..72c99f2dee
--- /dev/null
+++ b/testing/urlwatch/APKBUILD
@@ -0,0 +1,31 @@
# Contributor: Thiago Perrotta <tbperrotta@gmail.com>
# Maintainer: Thiago Perrotta <tbperrotta@gmail.com>
pkgname=urlwatch
pkgver=2.24
pkgrel=0
pkgdesc="Tool for monitoring webpages for updates"
url="https://thp.io/2008/urlwatch/"
arch="noarch"
license="BSD-3-Clause"
depends="python3 py3-appdirs py3-cssselect py3-keyring py3-lxml py3-minidb py3-requests py3-yaml"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-docutils py3-pycodestyle"
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/u/urlwatch/urlwatch-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
	install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING
}

sha512sums="
ed84cb69ecd8894851c3be0165edfa1dfee92a0b49ea1383e4cfd7c31eb0604f99b1a90d9508753064b58bdd8fc4c0369d817303858d07562b37c3f2ac4cae52  urlwatch-2.24.tar.gz
"
-- 
2.34.1
Details
Message ID
<164080489815.24590.14389591634708277844.gitlab.28987.5e06ea5c9939650b9a149b6ecd73e531e86d9230@listserv.local>
In-Reply-To
<20211229185619.17321-1-tbperrotta@gmail.com> (view parent)
DKIM signature
missing
Download raw message
On Wed, 29 Dec 2021 13:56:19 -0500, Thiago Perrotta wrote:
> +arch="noarch"
> +license="BSD-3-Clause"
> +depends="python3 py3-appdirs py3-cssselect py3-keyring py3-lxml py3-minidb py3-requests py3-yaml"

you should split these to one per line, i.e.  
```
depends="
  python3
  py3-appdirs
  ..
```
also seems minidb does not exist, you need to package that as well

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28987#note_202146
Details
Message ID
<164080503901.24590.5873048301047790611.gitlab.28987.5e06ea5c9939650b9a149b6ecd73e531e86d9230@listserv.local>
In-Reply-To
<164080489815.24590.14389591634708277844.gitlab.28987.5e06ea5c9939650b9a149b6ecd73e531e86d9230@listserv.local> (view parent)
DKIM signature
missing
Download raw message
On Wed, 29 Dec 2021 13:56:19 -0500, Thiago Perrotta wrote:
> +arch="noarch"
> +license="BSD-3-Clause"
> +depends="python3 py3-appdirs py3-cssselect py3-keyring py3-lxml py3-minidb py3-requests py3-yaml"

ah, i see you sent a separate patch for it- sure, that is fine, though it would be better to put it into one

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28987#note_202147
Details
Message ID
<164080582932.24590.15194849127432165682.gitlab.28987.5e06ea5c9939650b9a149b6ecd73e531e86d9230@listserv.local>
In-Reply-To
<164080503901.24590.5873048301047790611.gitlab.28987.5e06ea5c9939650b9a149b6ecd73e531e86d9230@listserv.local> (view parent)
DKIM signature
missing
Download raw message
Patch: +40 -0
On Wed, 29 Dec 2021 13:56:19 -0500, Thiago Perrotta wrote:
> +arch="noarch"
> +license="BSD-3-Clause"
> +depends="python3 py3-appdirs py3-cssselect py3-keyring py3-lxml py3-minidb py3-requests py3-yaml"

Thiago Perrotta <tbperrotta@gmail.com> replied via email:

```
https://thp.io/2008/urlwatch/
Tool for monitoring webpages for updates

Signed-off-by: Thiago Perrotta <tbperrotta@gmail.com>
---
Address psykose's comment, splitting depends entries on individual
lines.

I am leaving checkdepends() untouched as it only contains three items.

 testing/urlwatch/APKBUILD | 40 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 testing/urlwatch/APKBUILD

diff --git a/testing/urlwatch/APKBUILD b/testing/urlwatch/APKBUILD
new file mode 100644
index 0000000000..c702f82b3c
--- /dev/null
+++ b/testing/urlwatch/APKBUILD
@@ -0,0 +1,40 @@
# Contributor: Thiago Perrotta <tbperrotta@gmail.com>
# Maintainer: Thiago Perrotta <tbperrotta@gmail.com>
pkgname=urlwatch
pkgver=2.24
pkgrel=0
pkgdesc="Tool for monitoring webpages for updates"
url="https://thp.io/2008/urlwatch/"
arch="noarch"
license="BSD-3-Clause"
depends="
  python3
  py3-appdirs
  py3-cssselect
  py3-keyring
  py3-lxml
  py3-minidb
  py3-requests
  py3-yaml
  "
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-docutils py3-pycodestyle"
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/u/urlwatch/urlwatch-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build
	install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING
}

sha512sums="
ed84cb69ecd8894851c3be0165edfa1dfee92a0b49ea1383e4cfd7c31eb0604f99b1a90d9508753064b58bdd8fc4c0369d817303858d07562b37c3f2ac4cae52  urlwatch-2.24.tar.gz
"
-- 
2.34.1


```

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28987#note_202150
Details
Message ID
<164080775058.24590.12592305916476259323.gitlab.28987.74ba22ca68d6024bc39aed0ea163a1cb10f64534@listserv.local>
In-Reply-To
<20211229185619.17321-1-tbperrotta@gmail.com> (view parent)
DKIM signature
missing
Download raw message
Duplicate of https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28989

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28987#note_202160
Details
Message ID
<164080882112.24590.18209447150207903509.gitlab.28987.53a813b98cf8a451f15dfcd00b6da31d1af80849@listserv.local>
In-Reply-To
<20211229185619.17321-1-tbperrotta@gmail.com> (view parent)
DKIM signature
missing
Download raw message
Superseeded by alpine/aports!28991

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28987#note_202175
Reply to thread Export thread (mbox)