community/moment: remove due to watchgod dependency

moment depends on outdated watchgod (which renamed to watchfiles
upstream). The old watchgod no longer builds and will not be fixed
upstream.

moment has not yet migrated to watchfiles, and since we don't have
anyone who can follow up, we better delete moment as well.

ref: https://gitlab.com/mx-moment/moment/-/issues/145
This commit is contained in:
Natanael Copa 2024-03-27 16:59:25 +01:00
parent 709ef56ff5
commit 082d7a52ed
2 changed files with 0 additions and 115 deletions

View File

@ -1,76 +0,0 @@
# Contributor: Newbyte <newbyte@disroot.org>
# Maintainer:
pkgname=moment
pkgver=0.7.5
pkgrel=0
pkgdesc="Qt/QML Matrix client"
url="https://mx-moment.xyz"
# armhf blocked by py3-pyotherside, qt5-qtquickcontrols2
# s390x and ppc64le blocked by py3-watchgod
arch="all !armhf !s390x !ppc64le"
license="LGPL-3.0-or-later"
replaces=mirage
provides="mirage=$pkgver-r$pkgrel"
options="!check" # requires types-aiohttp
depends="
py3-aiofiles
py3-appdirs
py3-blist
py3-cairosvg
py3-emoji
py3-filetype
py3-hsluv
py3-html-sanitizer
py3-matrix-nio
py3-mistune
py3-pillow
py3-plyer
py3-pymediainfo
py3-pyotherside
py3-redbaron
py3-simpleaudio
py3-sortedcontainers
py3-watchgod
"
makedepends="
libjpeg-turbo-dev
libmediainfo-dev
libwebp-dev
libx11-dev
libxscrnsaver-dev
olm-dev
openjpeg-dev
py3-setuptools
python3-dev
qt5-qtbase-dev
qt5-qtquickcontrols2-dev
qt5-qtsvg-dev
qt5-qtimageformats
tiff-dev
zlib-dev
"
_commit_hsluv_c=0d7f4b65c37c51accac9a6198f441a3dd5ba4ffb
source="
moment-$pkgver.tar.gz::https://gitlab.com/mx-moment/moment/-/archive/v$pkgver/moment-v$pkgver.tar.gz
hsluv-c-$_commit_hsluv_c.tar.gz::https://github.com/hsluv/hsluv-c/archive/$_commit_hsluv_c.tar.gz
"
builddir="$srcdir/$pkgname-v$pkgver"
prepare() {
default_prepare
mv "$srcdir/hsluv-c-$_commit_hsluv_c/"* "$builddir/submodules/hsluv-c"
}
build() {
qmake-qt5 CONFIG+=qtquickcompiler PREFIX=/usr moment.pro
make
}
package() {
make INSTALL_ROOT=$pkgdir install
}
sha512sums="
11b6a03e26a39dfb2242e6c2e88c904a33147e49d91646cf5f98797813956e6fd7525e0746538ae11da306b095cf558cc20e1a81a4a456a2636784040922b411 moment-0.7.5.tar.gz
f735f300060598e6c0b83dfb36b70db8ae6a0a6a732fc9f4e348b14b955bff3487f4d3c1cb49f0795568809864fac5fbe27ba8386bb325ae71918a01a6973fea hsluv-c-0d7f4b65c37c51accac9a6198f441a3dd5ba4ffb.tar.gz
"

View File

@ -1,39 +0,0 @@
# Contributor: Newbyte <newbyte@disroot.org>
# Maintainer: JuniorJPDJ <alpine@juniorjpdj.pl>
pkgname=py3-watchgod
pkgver=0.8.2
pkgrel=2
pkgdesc="Simple, modern file watching and code reload in Python"
url="https://github.com/samuelcolvin/watchfiles"
arch="noarch"
license="MIT"
depends="python3 py3-anyio"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-pytest-asyncio py3-pytest-mock py3-pytest-toolbox py3-trio"
subpackages="$pkgname-pyc"
source="$pkgname-v$pkgver.tar.gz::https://github.com/samuelcolvin/watchfiles/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/watchfiles-$pkgver"
prepare() {
default_prepare
printf "__all__ = ('VERSION',)\n\nVERSION='%s'\n" "$pkgver" > watchgod/version.py
}
build() {
python3 setup.py build
}
check() {
# Fails on slow systems or when system is under heavy load.
# See upstream issue #84
pytest -k 'not test_awatch_log'
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
a44b831352ace03c450781bc815b1813c44c386d666a9b724b562ff69228705651bfc23e81b7344d0f79c62577d4f910b323c734298e2a609f85bbc4a0f0498e py3-watchgod-v0.8.2.tar.gz
"