[arch-commits] Commit in rofimoji/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 05:28:03 Author: polyzen Revision: 965828 Touch up Modified: rofimoji/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 05:27:23 UTC (rev 965827) +++ PKGBUILD2021-06-20 05:28:03 UTC (rev 965828) @@ -40,7 +40,7 @@ install -Dm644 -t "$pkgdir"/usr/share/man/man1 src/picker/docs/$pkgname.1 # https://github.com/FFY00/python-install/pull/6 - chmod +x "$pkgdir"/usr/bin/$pkgname + chmod +x "$pkgdir"/usr/bin/* # Symlink license file local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
[arch-commits] Commit in jedi-language-server/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, June 20, 2021 @ 05:27:23 Author: polyzen Revision: 965827 archrelease: copy trunk to community-any Added: jedi-language-server/repos/community-any/PKGBUILD (from rev 965826, jedi-language-server/trunk/PKGBUILD) Deleted: jedi-language-server/repos/community-any/PKGBUILD --+ PKGBUILD | 92 + 1 file changed, 50 insertions(+), 42 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-06-20 05:26:57 UTC (rev 965826) +++ PKGBUILD2021-06-20 05:27:23 UTC (rev 965827) @@ -1,42 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=jedi-language-server -pkgver=0.32.0 -pkgrel=2 -pkgdesc='Language server for Jedi' -arch=('any') -url=https://github.com/pappasam/jedi-language-server -license=('MIT') -depends=('python-docstring-to-markdown' 'python-jedi' 'python-pygls') -makedepends=('python-build' 'python-install' 'python-poetry') -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";) -sha256sums=('08eb5bff423d61ad56ae3bffb036638c1f6ae154daf57218148c274f4a9ea591') -b2sums=('3265cb3c7118e520aeafd264a8e0089d0dad1537f12dd46358b2d96d86f1f4a894619e8fa9fc06421631f916a618249e0b35283d7ba0c39e8379caa190b96c1f') - -prepare() { - cd $pkgname-$pkgver - # Remove include list https://github.com/pypa/wheel/issues/92 - sed -i '/include = \["README.md"\]/d' pyproject.toml -} - -build() { - cd $pkgname-$pkgver - python -m build --wheel --skip-dependency-check --no-isolation -} - -package() { - cd $pkgname-$pkgver - export PYTHONHASHSEED=0 - python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl - - # https://github.com/FFY00/python-install/pull/6 - chmod +x "$pkgdir"/usr/bin/$pkgname - - # Symlink license file - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - install -d "$pkgdir"/usr/share/licenses/$pkgname - ln -s $site_packages/${pkgname//-/_}-$pkgver.dist-info/LICENSE \ -"$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: jedi-language-server/repos/community-any/PKGBUILD (from rev 965826, jedi-language-server/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-06-20 05:27:23 UTC (rev 965827) @@ -0,0 +1,50 @@ +# Maintainer: Daniel M. Capella + +pkgname=jedi-language-server +pkgver=0.32.0 +pkgrel=3 +pkgdesc='Language server for Jedi' +arch=('any') +url=https://github.com/pappasam/jedi-language-server +license=('MIT') +depends=('python-docstring-to-markdown' 'python-jedi' 'python-pygls') +makedepends=('python-build' 'python-install' 'python-poetry') +checkdepends=('python-jsonrpc-server' 'python-pyhamcrest' 'python-pytest') +source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +b2sums=('3b6507eb17f5b7433b0c88b66361b7c077a06bd1b1680908e6328dfd8db20a882cbe25714717618f538159843274ecc64c4de912edde7659c98e41f880277a79') + +prepare() { + cd $pkgname-$pkgver + # Remove include list https://github.com/pypa/wheel/issues/92 + sed -i '/include = \["README.md"\]/d' pyproject.toml +} + +build() { + cd $pkgname-$pkgver + python -m build --wheel --skip-dependency-check --no-isolation +} + +check() { + cd $pkgname-$pkgver + mkdir -p temp + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + python -m install --optimize=1 --destdir=temp dist/*.whl + PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" pytest tests +} + +package() { + cd $pkgname-$pkgver + export PYTHONHASHSEED=0 + python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl + + # https://github.com/FFY00/python-install/pull/6 + chmod +x "$pkgdir"/usr/bin/* + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s $site_packages/${pkgname//-/_}-$pkgver.dist-info/LICENSE \ +"$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in jedi-language-server/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 05:26:57 Author: polyzen Revision: 965826 upgpkg: jedi-language-server 0.32.0-3: Add check() Modified: jedi-language-server/trunk/PKGBUILD --+ PKGBUILD | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 05:10:10 UTC (rev 965825) +++ PKGBUILD2021-06-20 05:26:57 UTC (rev 965826) @@ -2,7 +2,7 @@ pkgname=jedi-language-server pkgver=0.32.0 -pkgrel=2 +pkgrel=3 pkgdesc='Language server for Jedi' arch=('any') url=https://github.com/pappasam/jedi-language-server @@ -9,9 +9,9 @@ license=('MIT') depends=('python-docstring-to-markdown' 'python-jedi' 'python-pygls') makedepends=('python-build' 'python-install' 'python-poetry') -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";) -sha256sums=('08eb5bff423d61ad56ae3bffb036638c1f6ae154daf57218148c274f4a9ea591') -b2sums=('3265cb3c7118e520aeafd264a8e0089d0dad1537f12dd46358b2d96d86f1f4a894619e8fa9fc06421631f916a618249e0b35283d7ba0c39e8379caa190b96c1f') +checkdepends=('python-jsonrpc-server' 'python-pyhamcrest' 'python-pytest') +source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +b2sums=('3b6507eb17f5b7433b0c88b66361b7c077a06bd1b1680908e6328dfd8db20a882cbe25714717618f538159843274ecc64c4de912edde7659c98e41f880277a79') prepare() { cd $pkgname-$pkgver @@ -24,6 +24,14 @@ python -m build --wheel --skip-dependency-check --no-isolation } +check() { + cd $pkgname-$pkgver + mkdir -p temp + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + python -m install --optimize=1 --destdir=temp dist/*.whl + PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" pytest tests +} + package() { cd $pkgname-$pkgver export PYTHONHASHSEED=0 @@ -30,7 +38,7 @@ python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl # https://github.com/FFY00/python-install/pull/6 - chmod +x "$pkgdir"/usr/bin/$pkgname + chmod +x "$pkgdir"/usr/bin/* # Symlink license file local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
[arch-commits] Commit in python-pygls/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, June 20, 2021 @ 05:10:10 Author: polyzen Revision: 965825 archrelease: copy trunk to community-any Added: python-pygls/repos/community-any/PKGBUILD (from rev 965824, python-pygls/trunk/PKGBUILD) Deleted: python-pygls/repos/community-any/PKGBUILD --+ PKGBUILD | 76 + 1 file changed, 42 insertions(+), 34 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-06-20 05:09:42 UTC (rev 965824) +++ PKGBUILD2021-06-20 05:10:10 UTC (rev 965825) @@ -1,34 +0,0 @@ -# Maintainer: Daniel M. Capella -# Contributor: Otreblan - -_name=pygls -pkgname=python-pygls -pkgver=0.10.3 -pkgrel=2 -pkgdesc='Pythonic generic implementation of the Language Server Protocol' -arch=('any') -url=https://github.com/openlawlibrary/pygls -license=('APACHE') -depends=('python-pydantic' 'python-typeguard') -makedepends=('python-setuptools-scm' 'python-toml') -checkdepends=('python-mock' 'python-pytest' 'python-pytest-asyncio') -source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";) -sha256sums=('522c1068dd38c4945925ca742daba6aff5621168e0e5ddd954813e8b957ca831') -b2sums=('86eb889b73cdc7eb99b92e419e4d00d46d2662984dcf872c4ca2bc3040f3e13dda4f0866ecff03c9fc795040583d2d492e7251d134a15070d4d584d29bd35da3') - -build() { - cd $_name-$pkgver - python setup.py build -} - -check() { - cd $_name-$pkgver - pytest -} - -package() { - cd $_name-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build -} - -# vim:set ts=2 sw=2 et: Copied: python-pygls/repos/community-any/PKGBUILD (from rev 965824, python-pygls/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-06-20 05:10:10 UTC (rev 965825) @@ -0,0 +1,42 @@ +# Maintainer: Daniel M. Capella +# Contributor: Otreblan + +_name=pygls +pkgname=python-pygls +pkgver=0.10.3 +pkgrel=3 +pkgdesc='Pythonic generic implementation of the Language Server Protocol' +arch=('any') +url=https://github.com/openlawlibrary/pygls +license=('APACHE') +depends=('python-pydantic' 'python-typeguard') +makedepends=('python-build' 'python-install' 'python-setuptools-scm' + 'python-toml' 'python-wheel') +checkdepends=('python-mock' 'python-pytest' 'python-pytest-asyncio') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";) +sha256sums=('522c1068dd38c4945925ca742daba6aff5621168e0e5ddd954813e8b957ca831') +b2sums=('86eb889b73cdc7eb99b92e419e4d00d46d2662984dcf872c4ca2bc3040f3e13dda4f0866ecff03c9fc795040583d2d492e7251d134a15070d4d584d29bd35da3') + +build() { + cd $_name-$pkgver + python -m build --wheel --skip-dependency-check --no-isolation +} + +check() { + cd $_name-$pkgver + pytest +} + +package() { + cd $_name-$pkgver + export PYTHONHASHSEED=0 + python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s $site_packages/$_name-$pkgver.dist-info/LICENSE.txt \ +"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-black/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, June 20, 2021 @ 05:09:42 Author: polyzen Revision: 965824 archrelease: copy trunk to community-any Added: python-black/repos/community-any/PKGBUILD (from rev 965823, python-black/trunk/PKGBUILD) Deleted: python-black/repos/community-any/PKGBUILD --+ PKGBUILD | 100 + 1 file changed, 55 insertions(+), 45 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-06-20 05:09:15 UTC (rev 965823) +++ PKGBUILD2021-06-20 05:09:42 UTC (rev 965824) @@ -1,45 +0,0 @@ -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> -# Maintainer: Daniel M. Capella -# Contributor: James Zhu - -pkgname=python-black -pkgver=21.6b0 -pkgrel=1 -pkgdesc='Uncompromising Python code formatter' -arch=('any') -url=https://github.com/psf/black -license=('MIT') -depends=('python' 'python-appdirs' 'python-click' 'python-mypy_extensions' - 'python-pathspec' 'python-regex' 'python-toml') -makedepends=('python-setuptools-scm') -checkdepends=('python-aiohttp' 'python-aiohttp-cors' 'python-parameterized' - 'python-pytest' 'python-typed-ast') -optdepends=('python-aiohttp: for the blackd HTTP server' -'python-aiohttp-cors: for the blackd HTTP server' -'python-colorama: for colored diffs' -'python-typed-ast: to format Python 2 code') -source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz";) -sha256sums=('dc132348a88d103016726fe360cb9ede02cecf99b76e3660ce6c596be132ce04') -b2sums=('eea45713453320667254c135cd2216357e4bddfde3626eaae0f47148548bebd1b0b7952f034bad6c2d3802687a6541fbdab660a21eefa5f113656da39006cdaf') - -build() { - cd "black-$pkgver" - python setup.py build -} - -check() { - cd "black-$pkgver" - mkdir -p temp - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - python setup.py install --skip-build --root=temp - PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" pytest tests -m "not without_python2" -} - -package() { - cd "black-$pkgver" - export PYTHONHASHSEED=0 - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-black/repos/community-any/PKGBUILD (from rev 965823, python-black/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-06-20 05:09:42 UTC (rev 965824) @@ -0,0 +1,55 @@ +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Maintainer: Daniel M. Capella +# Contributor: James Zhu + +pkgname=python-black +pkgver=21.6b0 +pkgrel=2 +pkgdesc='Uncompromising Python code formatter' +arch=('any') +url=https://github.com/psf/black +license=('MIT') +depends=('python' 'python-appdirs' 'python-click' 'python-mypy_extensions' + 'python-pathspec' 'python-regex' 'python-toml') +makedepends=('python-build' 'python-setuptools-scm' 'python-install' + 'python-wheel') +checkdepends=('python-aiohttp' 'python-aiohttp-cors' 'python-parameterized' + 'python-pytest' 'python-typed-ast') +optdepends=('python-aiohttp: for the blackd HTTP server' +'python-aiohttp-cors: for the blackd HTTP server' +'python-colorama: for colored diffs' +'python-typed-ast: to format Python 2 code') +source=("https://files.pythonhosted.org/packages/source/b/black/black-$pkgver.tar.gz";) +sha256sums=('dc132348a88d103016726fe360cb9ede02cecf99b76e3660ce6c596be132ce04') +b2sums=('eea45713453320667254c135cd2216357e4bddfde3626eaae0f47148548bebd1b0b7952f034bad6c2d3802687a6541fbdab660a21eefa5f113656da39006cdaf') + +build() { + cd "black-$pkgver" + python -m build --wheel --skip-dependency-check --no-isolation +} + +check() { + cd "black-$pkgver" + mkdir -p temp + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + python -m install --optimize=1 --destdir=temp dist/*.whl + chmod +x temp/usr/bin/* # https://github.com/FFY00/python-install/pull/6 + PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" pytest tests -m "not without_python2" +} + +package() { + cd "black-$pkgver" + export PYTHONHASHSEED=0 + python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl + + # https://github.com/FFY00/python-install/pull/6 + chmod +x "$pkgdir"/usr/bin/* + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s $site_packages/black-$pkgver.dist-info/LICENSE \ +"$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-backcall/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, June 20, 2021 @ 05:09:15 Author: polyzen Revision: 965823 archrelease: copy trunk to community-any Added: python-backcall/repos/community-any/PKGBUILD (from rev 965822, python-backcall/trunk/PKGBUILD) Deleted: python-backcall/repos/community-any/PKGBUILD --+ PKGBUILD | 76 + 1 file changed, 42 insertions(+), 34 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-06-20 05:08:49 UTC (rev 965822) +++ PKGBUILD2021-06-20 05:09:15 UTC (rev 965823) @@ -1,34 +0,0 @@ -# Maintainer: Daniel M. Capella - -_name=backcall -pkgname=python-backcall -pkgver=0.2.0 -pkgrel=3 -pkgdesc='Backwards compatible callback APIs' -arch=('any') -url=https://github.com/takluyver/backcall -license=('BSD') -depends=('python') -source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";) -sha256sums=('5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e') - -build() { - cd $_name-$pkgver - python setup.py build -} - -check() { - cd $_name-$pkgver - mkdir -p temp - local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") - python setup.py install --skip-build --root=temp - PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" python tests/test_callback_prototypes.py -} - -package() { - cd $_name-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-backcall/repos/community-any/PKGBUILD (from rev 965822, python-backcall/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-06-20 05:09:15 UTC (rev 965823) @@ -0,0 +1,42 @@ +# Maintainer: Daniel M. Capella + +_name=backcall +pkgname=python-backcall +pkgver=0.2.0 +pkgrel=4 +pkgdesc='Backwards compatible callback APIs' +arch=('any') +url=https://github.com/takluyver/backcall +license=('BSD') +depends=('python') +makedepends=('python-build' 'python-flit-core' 'python-install') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";) +sha256sums=('5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e') +b2sums=('67f9ac96d26b368972a5749775a70c497b5705b37d45ba7f64c1259be776cc7f4c9d78ae51da9c1e9e46521d33bf511790675688feef88a68d25ae30cd79612d') + +build() { + cd $_name-$pkgver + python -m build --wheel --skip-dependency-check --no-isolation +} + +check() { + cd $_name-$pkgver + mkdir -p temp + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + python -m install --optimize=1 --destdir=temp dist/*.whl + PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" python tests/test_callback_prototypes.py +} + +package() { + cd $_name-$pkgver + export PYTHONHASHSEED=0 + python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s $site_packages/$_name-$pkgver.dist-info/LICENSE \ +"$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in (3 files)
Date: Sunday, June 20, 2021 @ 05:08:49 Author: polyzen Revision: 965822 Use PEP 517 Modified: python-backcall/trunk/PKGBUILD python-black/trunk/PKGBUILD python-pygls/trunk/PKGBUILD + python-backcall/trunk/PKGBUILD | 22 +++--- python-black/trunk/PKGBUILD| 22 -- python-pygls/trunk/PKGBUILD| 16 3 files changed, 43 insertions(+), 17 deletions(-) Modified: python-backcall/trunk/PKGBUILD === --- python-backcall/trunk/PKGBUILD 2021-06-20 05:06:02 UTC (rev 965821) +++ python-backcall/trunk/PKGBUILD 2021-06-20 05:08:49 UTC (rev 965822) @@ -3,32 +3,40 @@ _name=backcall pkgname=python-backcall pkgver=0.2.0 -pkgrel=3 +pkgrel=4 pkgdesc='Backwards compatible callback APIs' arch=('any') url=https://github.com/takluyver/backcall license=('BSD') depends=('python') +makedepends=('python-build' 'python-flit-core' 'python-install') source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";) sha256sums=('5cbdbf27be5e7cfadb448baf0aa95508f91f2bbc6c6437cd9cd06e2a4c215e1e') +b2sums=('67f9ac96d26b368972a5749775a70c497b5705b37d45ba7f64c1259be776cc7f4c9d78ae51da9c1e9e46521d33bf511790675688feef88a68d25ae30cd79612d') build() { cd $_name-$pkgver - python setup.py build + python -m build --wheel --skip-dependency-check --no-isolation } check() { cd $_name-$pkgver mkdir -p temp - local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") - python setup.py install --skip-build --root=temp - PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" python tests/test_callback_prototypes.py + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + python -m install --optimize=1 --destdir=temp dist/*.whl + PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" python tests/test_callback_prototypes.py } package() { cd $_name-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE + export PYTHONHASHSEED=0 + python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s $site_packages/$_name-$pkgver.dist-info/LICENSE \ +"$pkgdir"/usr/share/licenses/$pkgname/LICENSE } # vim:set ts=2 sw=2 et: Modified: python-black/trunk/PKGBUILD === --- python-black/trunk/PKGBUILD 2021-06-20 05:06:02 UTC (rev 965821) +++ python-black/trunk/PKGBUILD 2021-06-20 05:08:49 UTC (rev 965822) @@ -4,7 +4,7 @@ pkgname=python-black pkgver=21.6b0 -pkgrel=1 +pkgrel=2 pkgdesc='Uncompromising Python code formatter' arch=('any') url=https://github.com/psf/black @@ -11,7 +11,8 @@ license=('MIT') depends=('python' 'python-appdirs' 'python-click' 'python-mypy_extensions' 'python-pathspec' 'python-regex' 'python-toml') -makedepends=('python-setuptools-scm') +makedepends=('python-build' 'python-setuptools-scm' 'python-install' + 'python-wheel') checkdepends=('python-aiohttp' 'python-aiohttp-cors' 'python-parameterized' 'python-pytest' 'python-typed-ast') optdepends=('python-aiohttp: for the blackd HTTP server' @@ -24,7 +25,7 @@ build() { cd "black-$pkgver" - python setup.py build + python -m build --wheel --skip-dependency-check --no-isolation } check() { @@ -31,7 +32,8 @@ cd "black-$pkgver" mkdir -p temp local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - python setup.py install --skip-build --root=temp + python -m install --optimize=1 --destdir=temp dist/*.whl + chmod +x temp/usr/bin/* # https://github.com/FFY00/python-install/pull/6 PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$site_packages" pytest tests -m "not without_python2" } @@ -38,8 +40,16 @@ package() { cd "black-$pkgver" export PYTHONHASHSEED=0 - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE + python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl + + # https://github.com/FFY00/python-install/pull/6 + chmod +x "$pkgdir"/usr/bin/* + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s $site_packages/black-$pkgver.dist-info/LICENSE \ +"$pkgdir"/usr/share/licenses/$pkgname/LICENSE } # vim:set ts=2 sw=2 et: Modified: python-pygls/trunk/PKGBUILD === --- python-pygls/trunk/PKGBUILD 2021-06-20 05:06:02 UTC (rev 965821) +++ python-pygls/trunk/PK
[arch-commits] Commit in haskell-getopt-generics/repos (2 files)
Date: Sunday, June 20, 2021 @ 05:06:02 Author: felixonmars Revision: 965821 archrelease: copy trunk to community-staging-x86_64 Added: haskell-getopt-generics/repos/community-staging-x86_64/ haskell-getopt-generics/repos/community-staging-x86_64/PKGBUILD (from rev 965820, haskell-getopt-generics/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-getopt-generics/repos/community-staging-x86_64/PKGBUILD (from rev 965820, haskell-getopt-generics/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 05:06:02 UTC (rev 965821) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan + +_hkgname=getopt-generics +pkgname=haskell-getopt-generics +pkgver=0.13.0.4 +pkgrel=82 +pkgdesc="Create command line interfaces with ease" +url="https://github.com/soenkehahn/getopt-generics"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-base-compat' 'haskell-base-orphans' 'haskell-generics-sop' + 'haskell-tagged') +makedepends=('ghc' 'haskell-hspec' 'haskell-quickcheck' 'haskell-safe' 'haskell-silently') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('f053dcd59126932745a98c955eca70dc3f50eda7e5a390bf7e5d7c639d89df9d714a6b449166a5b288a77e69f203207e8d8480ad86484b68c7a609e5f1a03fca') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-getopt-generics/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 05:05:48 Author: felixonmars Revision: 965820 upgpkg: haskell-getopt-generics 0.13.0.4-82: rebuild with ghc 9.0.1 Modified: haskell-getopt-generics/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 05:04:48 UTC (rev 965819) +++ PKGBUILD2021-06-20 05:05:48 UTC (rev 965820) @@ -3,7 +3,7 @@ _hkgname=getopt-generics pkgname=haskell-getopt-generics pkgver=0.13.0.4 -pkgrel=81 +pkgrel=82 pkgdesc="Create command line interfaces with ease" url="https://github.com/soenkehahn/getopt-generics"; license=('BSD')
[arch-commits] Commit in haskell-generics-sop/repos (2 files)
Date: Sunday, June 20, 2021 @ 05:04:48 Author: felixonmars Revision: 965819 archrelease: copy trunk to community-staging-x86_64 Added: haskell-generics-sop/repos/community-staging-x86_64/ haskell-generics-sop/repos/community-staging-x86_64/PKGBUILD (from rev 965818, haskell-generics-sop/trunk/PKGBUILD) --+ PKGBUILD | 48 1 file changed, 48 insertions(+) Copied: haskell-generics-sop/repos/community-staging-x86_64/PKGBUILD (from rev 965818, haskell-generics-sop/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 05:04:48 UTC (rev 965819) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=generics-sop +pkgname=haskell-generics-sop +pkgver=0.5.1.1 +pkgrel=3 +pkgdesc="Generic Programming using True Sums of Products" +url="https://hackage.haskell.org/package/${_hkgname}"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-sop-core' 'haskell-th-abstraction') +makedepends=('ghc' 'uusi') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('8514a4aef263c2c38928a716c1755db7f2f52243d742b944bb718bf3458ae0969b451836e889075a2c4ea5893720dbb146212d1960a9573851d3ad6c66fb0d8d') + +prepare() { +cd $_hkgname-$pkgver +gen-setup +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-generics-sop/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 05:04:34 Author: felixonmars Revision: 965818 upgpkg: haskell-generics-sop 0.5.1.1-3: rebuild with ghc 9.0.1 Modified: haskell-generics-sop/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 04:50:56 UTC (rev 965817) +++ PKGBUILD2021-06-20 05:04:34 UTC (rev 965818) @@ -4,7 +4,7 @@ _hkgname=generics-sop pkgname=haskell-generics-sop pkgver=0.5.1.1 -pkgrel=2 +pkgrel=3 pkgdesc="Generic Programming using True Sums of Products" url="https://hackage.haskell.org/package/${_hkgname}"; license=("BSD")
[arch-commits] Commit in haskell-hie-compat/repos (2 files)
Date: Sunday, June 20, 2021 @ 04:50:56 Author: felixonmars Revision: 965817 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hie-compat/repos/community-staging-x86_64/ haskell-hie-compat/repos/community-staging-x86_64/PKGBUILD (from rev 965816, haskell-hie-compat/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: haskell-hie-compat/repos/community-staging-x86_64/PKGBUILD (from rev 965816, haskell-hie-compat/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 04:50:56 UTC (rev 965817) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan + +_hkgname=hie-compat +pkgname=haskell-hie-compat +pkgver=0.2.0.0 +pkgrel=2 +pkgdesc="HIE files for GHC 8.6 and other HIE file backports" +url="https://hackage.haskell.org/package/hie-compat"; +license=("Apache") +arch=('x86_64') +depends=('ghc-libs' 'haskell-ghc') +makedepends=('ghc' 'uusi') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('83719532cdc5c174b9adfb7f04e9c549f93cd30201634fa66cd24ec78b213009') + +prepare() { + cd $_hkgname-$pkgver + gen-setup +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-hie-compat/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 04:50:42 Author: felixonmars Revision: 965816 upgpkg: haskell-hie-compat 0.2.0.0-2: rebuild with ghc 9.0.1 Modified: haskell-hie-compat/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 04:49:50 UTC (rev 965815) +++ PKGBUILD2021-06-20 04:50:42 UTC (rev 965816) @@ -3,7 +3,7 @@ _hkgname=hie-compat pkgname=haskell-hie-compat pkgver=0.2.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="HIE files for GHC 8.6 and other HIE file backports" url="https://hackage.haskell.org/package/hie-compat"; license=("Apache")
[arch-commits] Commit in haskell-topograph/repos (2 files)
Date: Sunday, June 20, 2021 @ 04:49:50 Author: felixonmars Revision: 965815 archrelease: copy trunk to community-staging-x86_64 Added: haskell-topograph/repos/community-staging-x86_64/ haskell-topograph/repos/community-staging-x86_64/PKGBUILD (from rev 965814, haskell-topograph/trunk/PKGBUILD) --+ PKGBUILD | 46 ++ 1 file changed, 46 insertions(+) Copied: haskell-topograph/repos/community-staging-x86_64/PKGBUILD (from rev 965814, haskell-topograph/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 04:49:50 UTC (rev 965815) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan + +_hkgname=topograph +pkgname=haskell-topograph +pkgver=1.0.0.1 +pkgrel=14 +pkgdesc="Directed acyclic graphs" +url="https://github.com/phadej/topograph"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-base-compat' 'haskell-base-orphans' 'haskell-vector') +makedepends=('ghc' 'uusi') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('9b11c14dd579b952e64faaa762a5faddebc64949bc7f732865fcb599a37fa2e9') + +prepare() { + cd $_hkgname-$pkgver + gen-setup + uusi -u base $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-topograph/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 04:49:34 Author: felixonmars Revision: 965814 upgpkg: haskell-topograph 1.0.0.1-14: rebuild with ghc 9.0.1 Modified: haskell-topograph/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 04:31:44 UTC (rev 965813) +++ PKGBUILD2021-06-20 04:49:34 UTC (rev 965814) @@ -3,7 +3,7 @@ _hkgname=topograph pkgname=haskell-topograph pkgver=1.0.0.1 -pkgrel=13 +pkgrel=14 pkgdesc="Directed acyclic graphs" url="https://github.com/phadej/topograph"; license=("BSD") @@ -16,6 +16,7 @@ prepare() { cd $_hkgname-$pkgver gen-setup + uusi -u base $_hkgname.cabal } build() {
[arch-commits] Commit in csound/repos (3 files)
Date: Sunday, June 20, 2021 @ 04:31:44 Author: ainola Revision: 965813 archrelease: copy trunk to community-testing-x86_64 Added: csound/repos/community-testing-x86_64/ csound/repos/community-testing-x86_64/PKGBUILD (from rev 965812, csound/trunk/PKGBUILD) csound/repos/community-testing-x86_64/csound.sh (from rev 965812, csound/trunk/csound.sh) ---+ PKGBUILD | 116 csound.sh |3 + 2 files changed, 119 insertions(+) Copied: csound/repos/community-testing-x86_64/PKGBUILD (from rev 965812, csound/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2021-06-20 04:31:44 UTC (rev 965813) @@ -0,0 +1,116 @@ +# Maintainer: David Runge +# Contributor: Brett Cornwall +# Contributor: speps +# Contributor: Bernardo Barros + +pkgbase=csound +pkgname=('csound' 'csound-doc') +pkgver=6.16.0 +pkgrel=1 +pkgdesc="A programming language for sound rendering and signal processing." +arch=('x86_64') +url="https://csound.com"; +license=('LGPL2.1') +# libpd needs to be packaged: https://github.com/libpd/libpd/releases +# gmm > 5.1 breaks linear-algebra opcode: https://github.com/csound/csound/issues/920 +makedepends=('alsa-lib' 'cmake' 'doxygen' 'dssi' 'eigen' 'faust' 'fltk' +'fluidsynth' 'hdf5' 'jack' 'java-environment' 'ladspa' 'libmusicxml' +'libsamplerate' 'libsndfile' 'libwebsockets' 'abletonlink' 'llvm' 'lua' +'openssl' 'portaudio' 'portmidi' 'portsmf' 'stk' 'swig' 'wiiuse' 'strip-nondeterminism') +checkdepends=('cunit') +source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/${pkgbase}/${pkgbase}/archive/${pkgver}.tar.gz"; +"${pkgbase}.sh" + "https://github.com/${pkgbase}/${pkgbase}/releases/download/${pkgver}/Csound${pkgver}_manual_html.zip"; + "https://github.com/${pkgbase}/${pkgbase}/releases/download/${pkgver}/Csound${pkgver}_manual_pdf.zip";) +sha512sums=('218d26604ebc7761b77a19c2aebbf337085fe16ecb0fbefcbca2b4fdc721830e9bbf170a280d1b44534ac5f23e46ec88c01fd2bbbcf882cbca010ceb098d59eb' + '53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc' + 'e550a832e365ab186533045d110259699039d08a85ec2f53d4fe36aa31004725b1dc6732f71d9895fa19b3df5f4ec720af1b4f80856a14b0ffbd844c4ab2dbe3' + '18347ce7080ca7997e98f8addffcc492c7ec5d8e037e71a33bb46fdbc5b58ec26ee42f370689fc228d4150bd9dedc31c7824ec4c19f3243d512977f4380f9490') +b2sums=('708bf1e28078798863b8e347624eadb0ac215cfad3718bd651d6b4a54cafd844f516d5f06fad4cef3ece9f48398e46a6ac803e9385b1a2cc159f333613305a91' + '8a556685d0f9ee55c4de521b3d76fc729936e98e991e8ea860d64b29a1b09d142ab0a51548b2dddadb41ecb796e84ba1f8ed114494b4c67d7d6d8ab3475b2ede' + '3bf6e2202a42dfa826d39ef41282e1942f26cc3f6a3358e0de3a006f102b686342b4e1824a1c3a48ac37ffed31d9353e6946d948751dcc059819da649d63d9cb' + '7bb35f806568a80abbd84a4f4988217bea09f3174881d802f6d61505f044c8a26b59036dcb61ead5315e756a4512eb1fb56b2824f27f09899a8fe1664a386754') + +prepare() { + # fix file permissions in html manual + find html/ -type f -exec chmod -c 644 {} \; +} + +build() { + local _java_major=$(java --version 2>/dev/null |grep 'openjdk'| cut -d ' ' -f2| cut -d '.' -f1) + cd "${pkgbase}-${pkgver}" + # without CMAKE_BUILD_TYPE=Release, csound is build as beta: https://bugs.archlinux.org/task/63348 + # it's not allowed to redistribute the scansyn opcodes: https://github.com/csound/csound/issues/1148 + # the python plugin is not python3 compatible: https://github.com/csound/csound/issues/631 + cmake -DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_BUILD_TYPE='None' \ +-DBUILD_SCANSYN_OPCODES=OFF \ + -DJAVA_AWT_LIBRARY="/usr/lib/jvm/java-${_java_major}-openjdk/jre/lib/libawt.so" \ +-DJAVA_JVM_LIBRARY="/usr/lib/jvm/java-${_java_major}-openjdk/jre/lib" \ +-DLUA_LIBRARY=/usr/lib/liblua.so \ +-DBUILD_STATIC_LIBRARY=ON \ +-DBUILD_ABLETON_LINK_OPCODES=ON \ +-DABLETON_LINK_HOME=/usr/include/ableton \ +-W no-dev \ +-B build \ +-S . + make VERBOSE=1 -C build +} + +check() { + cd "${pkgbase}-${pkgver}" + make test -C build +} + +package_csound() { + groups=('pro-audio') + depends=('gcc-libs' 'glibc' 'libcurl.so' 'libsamplerate.so' 'libsndfile.so') + optdepends=('alsa-lib: for librtalsa plugin' + 'csound-doc: for the canonical Csound Reference Manual' + 'csound-plugins: for extra opcodes not shipped with Csound' + 'csoundqt: for frontend/ editor with integrated help' + 'fltk: for libvirtual and libwidgets plugins' + 'hdf5: for hdf5ops plugin' + 'java-runtime: java integration' + 'faust: for libfaustcsound plugin' + 'fluidsynth: for libfluidOpcodes plugin' +
[arch-commits] Commit in csound/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 04:31:17 Author: ainola Revision: 965812 upgpkg: csound 6.16.0-1; add csound-plugins optdepends Modified: csound/trunk/PKGBUILD --+ PKGBUILD | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 04:20:16 UTC (rev 965811) +++ PKGBUILD2021-06-20 04:31:17 UTC (rev 965812) @@ -5,8 +5,8 @@ pkgbase=csound pkgname=('csound' 'csound-doc') -pkgver=6.15.0 -pkgrel=5 +pkgver=6.16.0 +pkgrel=1 pkgdesc="A programming language for sound rendering and signal processing." arch=('x86_64') url="https://csound.com"; @@ -22,14 +22,14 @@ "${pkgbase}.sh" "https://github.com/${pkgbase}/${pkgbase}/releases/download/${pkgver}/Csound${pkgver}_manual_html.zip"; "https://github.com/${pkgbase}/${pkgbase}/releases/download/${pkgver}/Csound${pkgver}_manual_pdf.zip";) -sha512sums=('3462a544357b9ef7d8f2e6c7aed5f0659524fab08669950436da856c9854f81f658f1bd50061e7e6bfd28663a578ef2e0ea75ac4f0f9c72d47682aa26185' +sha512sums=('218d26604ebc7761b77a19c2aebbf337085fe16ecb0fbefcbca2b4fdc721830e9bbf170a280d1b44534ac5f23e46ec88c01fd2bbbcf882cbca010ceb098d59eb' '53a8ae1e61db2a3a492930ef0f0881b613ae47108c5e8de0a6e2aa28bcf7a5c93c7fea8b7fc2bbae29ab92e1e68bf94ba406be1255ad8ab5725ea9078c1fd6dc' - 'cf7df42f3b6d869a5e9f531c64a50287f9385927b26c48ff3c334b2ed95d17334be85a3ef671008504d1a365b1412e2715dcff61a41e3c83b60621df25d67946' - '0eca00951708d7064d789bdd0d98534e815ecc275e09b3020cce89d6f6b1009c0347e7d5fd400ed321bd7e05c89d79644f64c18f47b46013bb6b49c88e42fca0') -b2sums=('9513ae484606bacd82971bad80a8a4e9e42fa7ff9af33a7850052b2c3941b5260817efe8c502310da815802dd75681fbf239782783566bb402333917c91dbd1b' + 'e550a832e365ab186533045d110259699039d08a85ec2f53d4fe36aa31004725b1dc6732f71d9895fa19b3df5f4ec720af1b4f80856a14b0ffbd844c4ab2dbe3' + '18347ce7080ca7997e98f8addffcc492c7ec5d8e037e71a33bb46fdbc5b58ec26ee42f370689fc228d4150bd9dedc31c7824ec4c19f3243d512977f4380f9490') +b2sums=('708bf1e28078798863b8e347624eadb0ac215cfad3718bd651d6b4a54cafd844f516d5f06fad4cef3ece9f48398e46a6ac803e9385b1a2cc159f333613305a91' '8a556685d0f9ee55c4de521b3d76fc729936e98e991e8ea860d64b29a1b09d142ab0a51548b2dddadb41ecb796e84ba1f8ed114494b4c67d7d6d8ab3475b2ede' - 'b15b3381f13c7877130dfec60803ba1cdd12e5d2d92e5ea02c4d0dd5c1c70cc2bbec5f76634b385a0ffd20e7397d6c33bbe374128f01345999f34e2e2a0b7dd1' - '898da87eb8b10a75f3f6256eeade7aa180ff5e6dd93de8d2bf462d01d1d1cf5f4c5d7c4ed73402aa019674d597ff3fd1b7ac436059d9df39e0d77a15365d529e') + '3bf6e2202a42dfa826d39ef41282e1942f26cc3f6a3358e0de3a006f102b686342b4e1824a1c3a48ac37ffed31d9353e6946d948751dcc059819da649d63d9cb' + '7bb35f806568a80abbd84a4f4988217bea09f3174881d802f6d61505f044c8a26b59036dcb61ead5315e756a4512eb1fb56b2824f27f09899a8fe1664a386754') prepare() { # fix file permissions in html manual @@ -67,6 +67,7 @@ depends=('gcc-libs' 'glibc' 'libcurl.so' 'libsamplerate.so' 'libsndfile.so') optdepends=('alsa-lib: for librtalsa plugin' 'csound-doc: for the canonical Csound Reference Manual' + 'csound-plugins: for extra opcodes not shipped with Csound' 'csoundqt: for frontend/ editor with integrated help' 'fltk: for libvirtual and libwidgets plugins' 'hdf5: for hdf5ops plugin'
[arch-commits] Commit in haskell-colourista/repos (2 files)
Date: Sunday, June 20, 2021 @ 04:20:16 Author: felixonmars Revision: 965811 archrelease: copy trunk to community-staging-x86_64 Added: haskell-colourista/repos/community-staging-x86_64/ haskell-colourista/repos/community-staging-x86_64/PKGBUILD (from rev 965810, haskell-colourista/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-colourista/repos/community-staging-x86_64/PKGBUILD (from rev 965810, haskell-colourista/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 04:20:16 UTC (rev 965811) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan +# Contributor: berberman + +_hkgname=colourista +pkgname=haskell-colourista +pkgver=0.1.0.1 +pkgrel=14 +pkgdesc="Convenient interface for printing colourful messages based on the ansi-terminal library." +url="https://github.com/kowainik/colourista"; +license=('MPL2') +arch=('x86_64') +depends=('ghc-libs' 'haskell-ansi-terminal') +makedepends=('ghc' 'uusi' 'haskell-hspec') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('505317a7bc25a947a0e8e7311641d5061c2b78382011b80dbf4d25c4de31f8a906b119514d25f9db9b0cec90c9a323d3ba1747a3a706ecdbe239fd0258c5abfd') + +prepare() { + cd $_hkgname-$pkgver + gen-setup + uusi -u hspec $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test --show-details=direct +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-colourista/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 04:19:58 Author: felixonmars Revision: 965810 upgpkg: haskell-colourista 0.1.0.1-14: rebuild with ghc 9.0.1 Modified: haskell-colourista/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 04:19:06 UTC (rev 965809) +++ PKGBUILD2021-06-20 04:19:58 UTC (rev 965810) @@ -4,7 +4,7 @@ _hkgname=colourista pkgname=haskell-colourista pkgver=0.1.0.1 -pkgrel=13 +pkgrel=14 pkgdesc="Convenient interface for printing colourful messages based on the ansi-terminal library." url="https://github.com/kowainik/colourista"; license=('MPL2')
[arch-commits] Commit in haskell-atomic-write/repos (2 files)
Date: Sunday, June 20, 2021 @ 04:19:06 Author: felixonmars Revision: 965809 archrelease: copy trunk to community-staging-x86_64 Added: haskell-atomic-write/repos/community-staging-x86_64/ haskell-atomic-write/repos/community-staging-x86_64/PKGBUILD (from rev 965808, haskell-atomic-write/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-atomic-write/repos/community-staging-x86_64/PKGBUILD (from rev 965808, haskell-atomic-write/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 04:19:06 UTC (rev 965809) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=atomic-write +pkgname=haskell-atomic-write +pkgver=0.2.0.7 +pkgrel=96 +pkgdesc="Atomically write to a file" +url="https://github.com/stackbuilders/atomic-write"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-temporary' 'haskell-unix-compat') +makedepends=('ghc' 'haskell-hspec') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('3405437b801fbdd542c5c8a403f603ccb65ceaa63beca15062c429eaea412d7006342eb237982c9fe6751ffd160f810197b30fec3e49528e51bae1fc7f47af2e') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-atomic-write/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 04:18:52 Author: felixonmars Revision: 965808 upgpkg: haskell-atomic-write 0.2.0.7-96: rebuild with ghc 9.0.1 Modified: haskell-atomic-write/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 04:18:06 UTC (rev 965807) +++ PKGBUILD2021-06-20 04:18:52 UTC (rev 965808) @@ -3,7 +3,7 @@ _hkgname=atomic-write pkgname=haskell-atomic-write pkgver=0.2.0.7 -pkgrel=95 +pkgrel=96 pkgdesc="Atomically write to a file" url="https://github.com/stackbuilders/atomic-write"; license=('MIT')
[arch-commits] Commit in haskell-tomland/repos (2 files)
Date: Sunday, June 20, 2021 @ 04:18:06 Author: felixonmars Revision: 965807 archrelease: copy trunk to community-staging-x86_64 Added: haskell-tomland/repos/community-staging-x86_64/ haskell-tomland/repos/community-staging-x86_64/PKGBUILD (from rev 965806, haskell-tomland/trunk/PKGBUILD) --+ PKGBUILD | 56 1 file changed, 56 insertions(+) Copied: haskell-tomland/repos/community-staging-x86_64/PKGBUILD (from rev 965806, haskell-tomland/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 04:18:06 UTC (rev 965807) @@ -0,0 +1,56 @@ +# Maintainer: Felix Yan +# Contributor: berberman + +_hkgname=tomland +pkgname=haskell-tomland +pkgver=1.3.3.0 +pkgrel=23 +pkgdesc="Implementation of bidirectional TOML serialization." +url="https://github.com/kowainik/tomland"; +license=('MPL2') +arch=('x86_64') +depends=('ghc-libs' 'haskell-hashable' 'haskell-megaparsec' 'haskell-parser-combinators' + 'haskell-unordered-containers' 'haskell-validation-selective') +makedepends=('ghc' 'uusi' 'haskell-hedgehog' 'haskell-hspec' 'haskell-hspec-hedgehog' + 'haskell-hspec-megaparsec' 'haskell-markdown-unlit') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('3bf4e6382993c07f776b2dd7326e2eeecde581fe145a60caaa3b0decb8d81404e772a12594442afa6bce289c3df6548dc46df6c82822e9c7e4f0be0b7d3af1c8') + +prepare(){ + cd $_hkgname-$pkgver + gen-setup + uusi -u hspec $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test --show-details=direct +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE + + mv "$pkgdir"/usr/bin/{,tomland-}readme +}
[arch-commits] Commit in haskell-tomland/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 04:17:52 Author: felixonmars Revision: 965806 upgpkg: haskell-tomland 1.3.3.0-23: rebuild with ghc 9.0.1 Modified: haskell-tomland/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 03:45:20 UTC (rev 965805) +++ PKGBUILD2021-06-20 04:17:52 UTC (rev 965806) @@ -4,7 +4,7 @@ _hkgname=tomland pkgname=haskell-tomland pkgver=1.3.3.0 -pkgrel=22 +pkgrel=23 pkgdesc="Implementation of bidirectional TOML serialization." url="https://github.com/kowainik/tomland"; license=('MPL2')
[arch-commits] Commit in fortune-mod/repos/community-x86_64 (3 files)
Date: Sunday, June 20, 2021 @ 03:45:20 Author: grawlinson Revision: 965805 archrelease: copy trunk to community-x86_64 Added: fortune-mod/repos/community-x86_64/PKGBUILD (from rev 965804, fortune-mod/trunk/PKGBUILD) fortune-mod/repos/community-x86_64/not-a-game.patch (from rev 965804, fortune-mod/trunk/not-a-game.patch) Deleted: fortune-mod/repos/community-x86_64/PKGBUILD --+ PKGBUILD | 98 + not-a-game.patch | 13 +++ 2 files changed, 61 insertions(+), 50 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-06-20 03:44:18 UTC (rev 965804) +++ PKGBUILD2021-06-20 03:45:20 UTC (rev 965805) @@ -1,50 +0,0 @@ -# Maintainer: Kyle Keen -# Contributor: Kevin Piche -# Contributor: Dale Blount - -pkgname=fortune-mod -pkgver=2.12.0 -pkgrel=1 -pkgdesc="The Fortune Cookie Program from BSD games" -arch=('x86_64') -url="https://www.shlomifish.org/open-source/projects/fortune-mod/"; -license=('BSD') -depends=('recode') -makedepends=('cmake' 'rinutils') -source=("https://github.com/shlomif/fortune-mod/archive/fortune-mod-$pkgver.tar.gz";) -md5sums=('467b8071241e0e666a8a23f4a615e588') - -prepare() { - cd "$srcdir/fortune-mod-fortune-mod-$pkgver/fortune-mod" - # probably a better way to do this but it is baked in hard - sed -i 's|/games/|/|' CMakeLists.txt - sed -i 's|"sbin"|"bin"|' CMakeLists.txt - sed -i 's|"games"|"bin"|' CMakeLists.txt - sed -i 's|/games/fortunes|/fortune|' datfiles/{,off/}CMakeLists.txt -} - -build() { - cd "$srcdir/fortune-mod-fortune-mod-$pkgver/fortune-mod" - mkdir -p build - cd build - cmake .. \ --DCMAKE_INSTALL_PREFIX=/usr \ --DNO_OFFENSIVE=OFF \ --DLOCALDIR=/usr/share/fortune/ \ --DLOCALODIR=/usr/share/fortune/off/ \ --DCOOKIEDIR=/usr/share/fortune/ \ --DOCOOKIEDIR=/usr/share/fortune/off/ - make REGEXDEFS='-DHAVE_REGEX_H -DPOSIX_REGEX -DHAVE_STDBOOL' -} - -package() { - cd "$srcdir/fortune-mod-fortune-mod-$pkgver/fortune-mod/build" - make DESTDIR="$pkgdir" \ - FORTDIR="$pkgdir/usr/bin" \ - COOKIEDIR="$pkgdir/usr/share/fortune" \ - BINDIR="$pkgdir/usr/bin" \ - BINMANDIR="$pkgdir/usr/share/man/man1" \ - FORTMANDIR="$pkgdir/usr/share/man/man6" install - rm "$pkgdir/usr/share/fortune/"{,off/}*.u8 - install -Dm644 ../../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: fortune-mod/repos/community-x86_64/PKGBUILD (from rev 965804, fortune-mod/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-06-20 03:45:20 UTC (rev 965805) @@ -0,0 +1,48 @@ +# Maintainer: Kyle Keen +# Contributor: Kevin Piche +# Contributor: Dale Blount +# Contributor: George Rawlinson + +pkgname=fortune-mod +pkgver=3.6.1 +pkgrel=1 +pkgdesc="The Fortune Cookie Program from BSD games" +arch=('x86_64') +url="https://www.shlomifish.org/open-source/projects/fortune-mod/"; +license=('BSD') +depends=('recode') +makedepends=('cmake' 'rinutils') +source=("https://github.com/shlomif/fortune-mod/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz"; +'not-a-game.patch') +b2sums=('0ff684ee8aaf5eaabd75f187a3bff533ab4ee6e66c47c57fc700d2671006c8dff42f732fde78b40516f8ee907a52fc1965fb0ff257b12563d645f97c5ebc0031' + '3af374f348d42bf649199a79afc18a8f0dace50d2b4c8aa090a1a54ccffcb65bf069d26f0d1d417a395c5a3574f7376c5ae1ec8b97dd2385d6b4b944643b1215') + + +prepare() { + cd "$pkgname-$pkgver" + patch -p1 -i ../not-a-game.patch +} + +build() { + cd "$pkgname-$pkgver" + cmake -B build -S . \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DNO_OFFENSIVE=OFF \ +-DLOCALDIR=/usr/share/fortune/ \ +-DLOCALODIR=/usr/share/fortune/off/ \ +-DCOOKIEDIR=/usr/share/fortune/ \ +-DOCOOKIEDIR=/usr/share/fortune/off/ + make -C build +} + +package() { + cd "$pkgname-$pkgver" + make -C build DESTDIR="$pkgdir" \ + FORTDIR="$pkgdir/usr/bin" \ + COOKIEDIR="$pkgdir/usr/share/fortune" \ + BINDIR="$pkgdir/usr/bin" \ + BINMANDIR="$pkgdir/usr/share/man/man1" \ + FORTMANDIR="$pkgdir/usr/share/man/man6" install + rm "$pkgdir/usr/share/fortune/"{,off/}*.u8 + install -Dm644 COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} Copied: fortune-mod/repos/community-x86_64/not-a-game.patch (from rev 965804, fortune-mod/trunk/not-a-game.patch) === --- not-a-game.patch(rev 0) +++ not-a-game.patch2021-06-20 03:45:20 UTC (rev 965805) @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 865e855..5a59370 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -154,7 +154,7 @@ ENDMACRO() + my_exe( + "fortune" + "fortune/fortune.c" +-"games" ++"bin" + ) + my_exe( +
[arch-commits] Commit in fortune-mod/trunk (not-a-game.patch)
Date: Sunday, June 20, 2021 @ 03:44:18 Author: grawlinson Revision: 965804 upgpkg: fortune-mod 3.6.1-1 Forgot a patch! Added: fortune-mod/trunk/not-a-game.patch --+ not-a-game.patch | 13 + 1 file changed, 13 insertions(+) Added: not-a-game.patch === --- not-a-game.patch(rev 0) +++ not-a-game.patch2021-06-20 03:44:18 UTC (rev 965804) @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 865e855..5a59370 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -154,7 +154,7 @@ ENDMACRO() + my_exe( + "fortune" + "fortune/fortune.c" +-"games" ++"bin" + ) + my_exe( +
[arch-commits] Commit in fortune-mod/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 03:43:42 Author: grawlinson Revision: 965803 upgpkg: fortune-mod 3.6.1-1 * New upstream release * Fix patches & build Modified: fortune-mod/trunk/PKGBUILD --+ PKGBUILD | 32 +++- 1 file changed, 15 insertions(+), 17 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 03:21:33 UTC (rev 965802) +++ PKGBUILD2021-06-20 03:43:42 UTC (rev 965803) @@ -1,9 +1,10 @@ # Maintainer: Kyle Keen # Contributor: Kevin Piche # Contributor: Dale Blount +# Contributor: George Rawlinson pkgname=fortune-mod -pkgver=2.12.0 +pkgver=3.6.1 pkgrel=1 pkgdesc="The Fortune Cookie Program from BSD games" arch=('x86_64') @@ -11,23 +12,20 @@ license=('BSD') depends=('recode') makedepends=('cmake' 'rinutils') -source=("https://github.com/shlomif/fortune-mod/archive/fortune-mod-$pkgver.tar.gz";) -md5sums=('467b8071241e0e666a8a23f4a615e588') +source=("https://github.com/shlomif/fortune-mod/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz"; +'not-a-game.patch') +b2sums=('0ff684ee8aaf5eaabd75f187a3bff533ab4ee6e66c47c57fc700d2671006c8dff42f732fde78b40516f8ee907a52fc1965fb0ff257b12563d645f97c5ebc0031' + '3af374f348d42bf649199a79afc18a8f0dace50d2b4c8aa090a1a54ccffcb65bf069d26f0d1d417a395c5a3574f7376c5ae1ec8b97dd2385d6b4b944643b1215') + prepare() { - cd "$srcdir/fortune-mod-fortune-mod-$pkgver/fortune-mod" - # probably a better way to do this but it is baked in hard - sed -i 's|/games/|/|' CMakeLists.txt - sed -i 's|"sbin"|"bin"|' CMakeLists.txt - sed -i 's|"games"|"bin"|' CMakeLists.txt - sed -i 's|/games/fortunes|/fortune|' datfiles/{,off/}CMakeLists.txt + cd "$pkgname-$pkgver" + patch -p1 -i ../not-a-game.patch } build() { - cd "$srcdir/fortune-mod-fortune-mod-$pkgver/fortune-mod" - mkdir -p build - cd build - cmake .. \ + cd "$pkgname-$pkgver" + cmake -B build -S . \ -DCMAKE_INSTALL_PREFIX=/usr \ -DNO_OFFENSIVE=OFF \ -DLOCALDIR=/usr/share/fortune/ \ @@ -34,12 +32,12 @@ -DLOCALODIR=/usr/share/fortune/off/ \ -DCOOKIEDIR=/usr/share/fortune/ \ -DOCOOKIEDIR=/usr/share/fortune/off/ - make REGEXDEFS='-DHAVE_REGEX_H -DPOSIX_REGEX -DHAVE_STDBOOL' + make -C build } package() { - cd "$srcdir/fortune-mod-fortune-mod-$pkgver/fortune-mod/build" - make DESTDIR="$pkgdir" \ + cd "$pkgname-$pkgver" + make -C build DESTDIR="$pkgdir" \ FORTDIR="$pkgdir/usr/bin" \ COOKIEDIR="$pkgdir/usr/share/fortune" \ BINDIR="$pkgdir/usr/bin" \ @@ -46,5 +44,5 @@ BINMANDIR="$pkgdir/usr/share/man/man1" \ FORTMANDIR="$pkgdir/usr/share/man/man6" install rm "$pkgdir/usr/share/fortune/"{,off/}*.u8 - install -Dm644 ../../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 COPYING.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }
[arch-commits] Commit in python-pyppeteer/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, June 20, 2021 @ 03:21:33 Author: polyzen Revision: 965802 archrelease: copy trunk to community-any Added: python-pyppeteer/repos/community-any/PKGBUILD (from rev 965801, python-pyppeteer/trunk/PKGBUILD) Deleted: python-pyppeteer/repos/community-any/PKGBUILD --+ PKGBUILD | 82 ++--- 1 file changed, 46 insertions(+), 36 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-06-20 03:21:15 UTC (rev 965801) +++ PKGBUILD2021-06-20 03:21:33 UTC (rev 965802) @@ -1,36 +0,0 @@ -# Maintainer: Daniel M. Capella -# Contributor: robertfoster -# Contributor: Ista Zahn - -_name=pyppeteer -pkgname=python-pyppeteer -pkgver=0.2.5 -pkgrel=1 -pkgdesc='Headless chrome/chromium automation library' -arch=('any') -url=https://github.com/pyppeteer/pyppeteer -license=('MIT') -depends=('python-appdirs' 'python-pyee' 'python-tqdm' 'python-urllib3' - 'python-websockets') -makedepends=('python-pip' 'python-poetry') -source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";) -sha256sums=('c2974be1afa13b17f7ecd120d265d8b8cd324d536a231c3953ca872b68aba4af') -b2sums=('16c07b0c6a8267a9bb42d58a592391caa9fc614b577f157d73ad6f3bee690b7ff44b17f2c5488bbfe5d68b9c2f70b6092e3c6a53cc9c8d5507195eccb9f88c4e') - -prepare() { - cd $_name-$pkgver - sed -i '/^include/,/]/d' pyproject.toml -} - -build() { - cd $_name-$pkgver - poetry build --format wheel -} - -package() { - cd $_name-$pkgver - PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-pyppeteer/repos/community-any/PKGBUILD (from rev 965801, python-pyppeteer/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-06-20 03:21:33 UTC (rev 965802) @@ -0,0 +1,46 @@ +# Maintainer: Daniel M. Capella +# Contributor: robertfoster +# Contributor: Ista Zahn + +_name=pyppeteer +pkgname=python-pyppeteer +pkgver=0.2.5 +pkgrel=2 +pkgdesc='Headless chrome/chromium automation library' +arch=('any') +url=https://github.com/pyppeteer/pyppeteer +license=('MIT') +depends=('python-appdirs' 'python-pyee' 'python-tqdm' 'python-urllib3' + 'python-websockets') +makedepends=('python-build' 'python-install' 'python-poetry') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";) +sha256sums=('c2974be1afa13b17f7ecd120d265d8b8cd324d536a231c3953ca872b68aba4af') +b2sums=('16c07b0c6a8267a9bb42d58a592391caa9fc614b577f157d73ad6f3bee690b7ff44b17f2c5488bbfe5d68b9c2f70b6092e3c6a53cc9c8d5507195eccb9f88c4e') + +prepare() { + cd $_name-$pkgver + # Remove include list https://github.com/pypa/wheel/issues/92 + sed -i '/^include/,/]/d' pyproject.toml +} + +build() { + cd $_name-$pkgver + python -m build --wheel --skip-dependency-check --no-isolation +} + +package() { + cd $_name-$pkgver + export PYTHONHASHSEED=0 + python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl + + # https://github.com/FFY00/python-install/pull/6 + chmod +x "$pkgdir"/usr/bin/* + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s $site_packages/$_name-$pkgver.dist-info/LICENSE \ +"$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-pyppeteer/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 03:21:15 Author: polyzen Revision: 965801 upgpkg: python-pyppeteer 0.2.5-2: Use python-build/install Modified: python-pyppeteer/trunk/PKGBUILD --+ PKGBUILD | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 03:19:45 UTC (rev 965800) +++ PKGBUILD2021-06-20 03:21:15 UTC (rev 965801) @@ -5,7 +5,7 @@ _name=pyppeteer pkgname=python-pyppeteer pkgver=0.2.5 -pkgrel=1 +pkgrel=2 pkgdesc='Headless chrome/chromium automation library' arch=('any') url=https://github.com/pyppeteer/pyppeteer @@ -12,7 +12,7 @@ license=('MIT') depends=('python-appdirs' 'python-pyee' 'python-tqdm' 'python-urllib3' 'python-websockets') -makedepends=('python-pip' 'python-poetry') +makedepends=('python-build' 'python-install' 'python-poetry') source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";) sha256sums=('c2974be1afa13b17f7ecd120d265d8b8cd324d536a231c3953ca872b68aba4af') b2sums=('16c07b0c6a8267a9bb42d58a592391caa9fc614b577f157d73ad6f3bee690b7ff44b17f2c5488bbfe5d68b9c2f70b6092e3c6a53cc9c8d5507195eccb9f88c4e') @@ -19,18 +19,28 @@ prepare() { cd $_name-$pkgver + # Remove include list https://github.com/pypa/wheel/issues/92 sed -i '/^include/,/]/d' pyproject.toml } build() { cd $_name-$pkgver - poetry build --format wheel + python -m build --wheel --skip-dependency-check --no-isolation } package() { cd $_name-$pkgver - PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps dist/*.whl - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE + export PYTHONHASHSEED=0 + python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl + + # https://github.com/FFY00/python-install/pull/6 + chmod +x "$pkgdir"/usr/bin/* + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s $site_packages/$_name-$pkgver.dist-info/LICENSE \ +"$pkgdir"/usr/share/licenses/$pkgname/LICENSE } # vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-pyee/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, June 20, 2021 @ 03:19:45 Author: polyzen Revision: 965800 archrelease: copy trunk to community-any Added: python-pyee/repos/community-any/PKGBUILD (from rev 965799, python-pyee/trunk/PKGBUILD) Deleted: python-pyee/repos/community-any/PKGBUILD --+ PKGBUILD | 80 - 1 file changed, 43 insertions(+), 37 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-06-20 03:19:25 UTC (rev 965799) +++ PKGBUILD2021-06-20 03:19:45 UTC (rev 965800) @@ -1,37 +0,0 @@ -# Maintainer: Daniel M. Capella -# Contributor: Josh Holbrook - -pkgname=python-pyee -pkgver=8.1.0 -pkgrel=2 -pkgdesc="Port of node.js's EventEmitter to python" -arch=('any') -url=https://github.com/jfhbrook/pyee -license=('MIT') -depends=('python-trio' 'python-twisted') -makedepends=('python-pip' 'python-setuptools' 'python-wheel') -checkdepends=('python-mock' 'python-pytest'{,-asyncio,-trio}) -source=("https://files.pythonhosted.org/packages/source/p/pyee/pyee-$pkgver.tar.gz";) -sha256sums=('92dacc5bd2bdb8f95aa8dd2585d47ca1c4840e2adb95ccf90034d64f725bfd31') -b2sums=('5e8553cd1e7fde1dec101e101611faa409c24743cce87d4c2a968207af33ee6af66fae1e2a34453375769d845be25f55c1e78c3beeb65381f5f4b257b15b45f1') - -build() { - cd pyee-$pkgver - python setup.py build -} - -check() { - cd pyee-$pkgver - mkdir -p temp - local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") - python setup.py install --skip-build --root=temp - PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" pytest -} - -package() { - cd pyee-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: python-pyee/repos/community-any/PKGBUILD (from rev 965799, python-pyee/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-06-20 03:19:45 UTC (rev 965800) @@ -0,0 +1,43 @@ +# Maintainer: Daniel M. Capella +# Contributor: Josh Holbrook + +pkgname=python-pyee +pkgver=8.1.0 +pkgrel=3 +pkgdesc="Port of node.js's EventEmitter to python" +arch=('any') +url=https://github.com/jfhbrook/pyee +license=('MIT') +depends=('python-trio' 'python-twisted') +makedepends=('python-setuptools') +checkdepends=('python-mock' 'python-pytest'{,-asyncio,-trio}) +source=("https://files.pythonhosted.org/packages/source/p/pyee/pyee-$pkgver.tar.gz";) +sha256sums=('92dacc5bd2bdb8f95aa8dd2585d47ca1c4840e2adb95ccf90034d64f725bfd31') +b2sums=('5e8553cd1e7fde1dec101e101611faa409c24743cce87d4c2a968207af33ee6af66fae1e2a34453375769d845be25f55c1e78c3beeb65381f5f4b257b15b45f1') + +prepare() { + cd pyee-$pkgver + # Remove setup_requres list + sed -i '/setup_requires/,/\],/d' setup.py +} + +build() { + cd pyee-$pkgver + python setup.py build +} + +check() { + cd pyee-$pkgver + mkdir -p temp + local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") + python setup.py install --skip-build --root=temp + PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" pytest +} + +package() { + cd pyee-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-pyee/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 03:19:25 Author: polyzen Revision: 965799 upgpkg: python-pyee 8.1.0-3: Remove unnecessary setup deps Modified: python-pyee/trunk/PKGBUILD --+ PKGBUILD | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 03:06:43 UTC (rev 965798) +++ PKGBUILD2021-06-20 03:19:25 UTC (rev 965799) @@ -3,18 +3,24 @@ pkgname=python-pyee pkgver=8.1.0 -pkgrel=2 +pkgrel=3 pkgdesc="Port of node.js's EventEmitter to python" arch=('any') url=https://github.com/jfhbrook/pyee license=('MIT') depends=('python-trio' 'python-twisted') -makedepends=('python-pip' 'python-setuptools' 'python-wheel') +makedepends=('python-setuptools') checkdepends=('python-mock' 'python-pytest'{,-asyncio,-trio}) source=("https://files.pythonhosted.org/packages/source/p/pyee/pyee-$pkgver.tar.gz";) sha256sums=('92dacc5bd2bdb8f95aa8dd2585d47ca1c4840e2adb95ccf90034d64f725bfd31') b2sums=('5e8553cd1e7fde1dec101e101611faa409c24743cce87d4c2a968207af33ee6af66fae1e2a34453375769d845be25f55c1e78c3beeb65381f5f4b257b15b45f1') +prepare() { + cd pyee-$pkgver + # Remove setup_requres list + sed -i '/setup_requires/,/\],/d' setup.py +} + build() { cd pyee-$pkgver python setup.py build
[arch-commits] Commit in haskell-markdown-unlit/repos (2 files)
Date: Sunday, June 20, 2021 @ 03:06:43 Author: felixonmars Revision: 965798 archrelease: copy trunk to community-staging-x86_64 Added: haskell-markdown-unlit/repos/community-staging-x86_64/ haskell-markdown-unlit/repos/community-staging-x86_64/PKGBUILD (from rev 965797, haskell-markdown-unlit/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-markdown-unlit/repos/community-staging-x86_64/PKGBUILD (from rev 965797, haskell-markdown-unlit/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 03:06:43 UTC (rev 965798) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan + +_hkgname=markdown-unlit +pkgname=haskell-markdown-unlit +pkgver=0.5.1 +pkgrel=52 +pkgdesc="Literate Haskell support for Markdown" +url="https://github.com/sol/markdown-unlit"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-base-compat') +makedepends=('ghc' 'haskell-hspec' 'haskell-hspec-discover' 'haskell-silently' + 'haskell-stringbuilder' 'haskell-temporary') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('a9018d201c81af673eb40398a47a2010b7deb15546b2c67aca59329f8132d42b29d9f3c50b3388777cfb4540bd5ef7d95f2a9beee1c6463239b81372198240b8') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-markdown-unlit/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 03:06:28 Author: felixonmars Revision: 965797 upgpkg: haskell-markdown-unlit 0.5.1-52: rebuild with ghc 9.0.1 Modified: haskell-markdown-unlit/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 03:05:43 UTC (rev 965796) +++ PKGBUILD2021-06-20 03:06:28 UTC (rev 965797) @@ -3,7 +3,7 @@ _hkgname=markdown-unlit pkgname=haskell-markdown-unlit pkgver=0.5.1 -pkgrel=51 +pkgrel=52 pkgdesc="Literate Haskell support for Markdown" url="https://github.com/sol/markdown-unlit"; license=('MIT')
[arch-commits] Commit in haskell-doclayout/repos (2 files)
Date: Sunday, June 20, 2021 @ 03:05:43 Author: felixonmars Revision: 965796 archrelease: copy trunk to community-staging-x86_64 Added: haskell-doclayout/repos/community-staging-x86_64/ haskell-doclayout/repos/community-staging-x86_64/PKGBUILD (from rev 965795, haskell-doclayout/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-doclayout/repos/community-staging-x86_64/PKGBUILD (from rev 965795, haskell-doclayout/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 03:05:43 UTC (rev 965796) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=doclayout +pkgname=haskell-doclayout +pkgver=0.3.0.2 +pkgrel=19 +pkgdesc="A prettyprinting library for laying out text documents" +url="https://github.com/jgm/doclayout"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-safe') +makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-golden' 'haskell-tasty-hunit') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('5f777b66c5bb589021ce6f74e4cb4520a5078621cbcc62bc4eb8b73d54771f18523dfe40935f83553a5a4244219a86b6af22e7e3f33d251b3c567f91bb9596c0') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-doclayout/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 03:05:30 Author: felixonmars Revision: 965795 upgpkg: haskell-doclayout 0.3.0.2-19: rebuild with ghc 9.0.1 Modified: haskell-doclayout/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 03:04:40 UTC (rev 965794) +++ PKGBUILD2021-06-20 03:05:30 UTC (rev 965795) @@ -3,7 +3,7 @@ _hkgname=doclayout pkgname=haskell-doclayout pkgver=0.3.0.2 -pkgrel=18 +pkgrel=19 pkgdesc="A prettyprinting library for laying out text documents" url="https://github.com/jgm/doclayout"; license=('BSD')
[arch-commits] Commit in haskell-bytestring-encoding/repos (2 files)
Date: Sunday, June 20, 2021 @ 03:04:40 Author: felixonmars Revision: 965794 archrelease: copy trunk to community-staging-x86_64 Added: haskell-bytestring-encoding/repos/community-staging-x86_64/ haskell-bytestring-encoding/repos/community-staging-x86_64/PKGBUILD (from rev 965793, haskell-bytestring-encoding/trunk/PKGBUILD) --+ PKGBUILD | 46 ++ 1 file changed, 46 insertions(+) Copied: haskell-bytestring-encoding/repos/community-staging-x86_64/PKGBUILD (from rev 965793, haskell-bytestring-encoding/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 03:04:40 UTC (rev 965794) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan + +_hkgname=bytestring-encoding +pkgname=haskell-bytestring-encoding +pkgver=0.1.1.0 +pkgrel=9 +pkgdesc="ByteString ↔ Text converter based on GHC.IO.Encoding" +url="https://github.com/msakai/bytestring-encoding#readme"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit' + 'haskell-tasty-quickcheck' 'haskell-tasty-th') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('6a080fc0f95060ea2702191442bd4e397149bda25aa2d7c95979cc080201db04eef70305bfd5cb6d52609a339837a0bcadb3951fb375a1ad61522537b0d0087a') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test --show-details=direct +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-bytestring-encoding/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 03:04:27 Author: felixonmars Revision: 965793 upgpkg: haskell-bytestring-encoding 0.1.1.0-9: rebuild with ghc 9.0.1 Modified: haskell-bytestring-encoding/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 03:03:43 UTC (rev 965792) +++ PKGBUILD2021-06-20 03:04:27 UTC (rev 965793) @@ -3,7 +3,7 @@ _hkgname=bytestring-encoding pkgname=haskell-bytestring-encoding pkgver=0.1.1.0 -pkgrel=8 +pkgrel=9 pkgdesc="ByteString ↔ Text converter based on GHC.IO.Encoding" url="https://github.com/msakai/bytestring-encoding#readme"; license=("BSD")
[arch-commits] Commit in haskell-fast-logger/repos (2 files)
Date: Sunday, June 20, 2021 @ 03:03:43 Author: felixonmars Revision: 965792 archrelease: copy trunk to community-staging-x86_64 Added: haskell-fast-logger/repos/community-staging-x86_64/ haskell-fast-logger/repos/community-staging-x86_64/PKGBUILD (from rev 965791, haskell-fast-logger/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: haskell-fast-logger/repos/community-staging-x86_64/PKGBUILD (from rev 965791, haskell-fast-logger/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 03:03:43 UTC (rev 965792) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=fast-logger +pkgname=haskell-fast-logger +pkgver=3.0.5 +pkgrel=11 +pkgdesc="A fast logging system" +url="https://github.com/kazu-yamamoto/logger"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-auto-update' 'haskell-easy-file' 'haskell-unix-compat' + 'haskell-unix-time') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('3a79b7f6e033601ee4c09d0e64fa10d17a7dad221a9002e3452ba90d45b3557e7224060ffe65dbc8904bd60f21011bf7d1db2070449dd2e15ed29b3032b32aa4') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-fast-logger/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 03:03:29 Author: felixonmars Revision: 965791 upgpkg: haskell-fast-logger 3.0.5-11: rebuild with ghc 9.0.1 Modified: haskell-fast-logger/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 03:02:43 UTC (rev 965790) +++ PKGBUILD2021-06-20 03:03:29 UTC (rev 965791) @@ -4,7 +4,7 @@ _hkgname=fast-logger pkgname=haskell-fast-logger pkgver=3.0.5 -pkgrel=10 +pkgrel=11 pkgdesc="A fast logging system" url="https://github.com/kazu-yamamoto/logger"; license=("BSD")
[arch-commits] Commit in haskell-time-manager/repos (2 files)
Date: Sunday, June 20, 2021 @ 03:02:43 Author: felixonmars Revision: 965790 archrelease: copy trunk to community-staging-x86_64 Added: haskell-time-manager/repos/community-staging-x86_64/ haskell-time-manager/repos/community-staging-x86_64/PKGBUILD (from rev 965789, haskell-time-manager/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-time-manager/repos/community-staging-x86_64/PKGBUILD (from rev 965789, haskell-time-manager/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 03:02:43 UTC (rev 965790) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=time-manager +pkgname=haskell-time-manager +pkgver=0.0.0 +pkgrel=167 +pkgdesc="Scalable timer" +url="https://github.com/yesodweb/wai"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs' 'haskell-auto-update') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('aa8bd9dc9a66ea097fe2d6a6d9e77eff67debc58a588da7ae1d6fc312b6bb371da58b413b58cdba21623e2da26633595f379ac9e0a7a6dc7281ad42353231054') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-time-manager/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 03:02:29 Author: felixonmars Revision: 965789 upgpkg: haskell-time-manager 0.0.0-167: rebuild with ghc 9.0.1 Modified: haskell-time-manager/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 03:01:48 UTC (rev 965788) +++ PKGBUILD2021-06-20 03:02:29 UTC (rev 965789) @@ -3,7 +3,7 @@ _hkgname=time-manager pkgname=haskell-time-manager pkgver=0.0.0 -pkgrel=166 +pkgrel=167 pkgdesc="Scalable timer" url="https://github.com/yesodweb/wai"; license=('MIT')
[arch-commits] Commit in haskell-auto-update/repos (2 files)
Date: Sunday, June 20, 2021 @ 03:01:48 Author: felixonmars Revision: 965788 archrelease: copy trunk to community-staging-x86_64 Added: haskell-auto-update/repos/community-staging-x86_64/ haskell-auto-update/repos/community-staging-x86_64/PKGBUILD (from rev 965787, haskell-auto-update/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-auto-update/repos/community-staging-x86_64/PKGBUILD (from rev 965787, haskell-auto-update/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 03:01:48 UTC (rev 965788) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=auto-update +pkgname=haskell-auto-update +pkgver=0.1.6 +pkgrel=170 +pkgdesc="Efficiently run periodic, on-demand actions" +url="https://github.com/yesodweb/wai"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-hspec' 'haskell-retry' 'haskell-hunit') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('ff0f4f835d0b24aafbe18dbc42a9c3cc396cea24be3f4b13b5f5dac49b3b21030c941c8b09a5c33ba175c9902d076aa12fc9eb5a6a79c94ee5c9b60935fa047f') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-auto-update/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 03:01:34 Author: felixonmars Revision: 965787 upgpkg: haskell-auto-update 0.1.6-170: rebuild with ghc 9.0.1 Modified: haskell-auto-update/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 03:00:46 UTC (rev 965786) +++ PKGBUILD2021-06-20 03:01:34 UTC (rev 965787) @@ -4,7 +4,7 @@ _hkgname=auto-update pkgname=haskell-auto-update pkgver=0.1.6 -pkgrel=169 +pkgrel=170 pkgdesc="Efficiently run periodic, on-demand actions" url="https://github.com/yesodweb/wai"; license=("MIT")
[arch-commits] Commit in haskell-retry/repos (2 files)
Date: Sunday, June 20, 2021 @ 03:00:46 Author: felixonmars Revision: 965786 archrelease: copy trunk to community-staging-x86_64 Added: haskell-retry/repos/community-staging-x86_64/ haskell-retry/repos/community-staging-x86_64/PKGBUILD (from rev 965785, haskell-retry/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-retry/repos/community-staging-x86_64/PKGBUILD (from rev 965785, haskell-retry/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 03:00:46 UTC (rev 965786) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=retry +pkgname=haskell-retry +pkgver=0.8.1.2 +pkgrel=119 +pkgdesc="Retry combinators for monadic actions that may fail" +url="https://github.com/Soostone/retry"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-random') +makedepends=('ghc' 'haskell-hedgehog' 'haskell-hunit' 'haskell-tasty' + 'haskell-tasty-hunit' 'haskell-tasty-hedgehog') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('42856d43035e7c3a8128768c1a12fb1fbbd33ebc12fba152f5559e117a6339ea35a75e06243c320623e42a70916ad9f5a141988c42df4e44acb084210e2488e7') + +prepare() { +cd $_hkgname-$pkgver +# https://github.com/Soostone/retry/issues/71 +sed -i 's/fmap \(.*\) genDuration/fmap (\\x -> \1 x) genDuration/g' test/Tests/Control/Retry.hs +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-f-lib-werror +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-retry/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 03:00:32 Author: felixonmars Revision: 965785 upgpkg: haskell-retry 0.8.1.2-119: rebuild with ghc 9.0.1 Modified: haskell-retry/trunk/PKGBUILD --+ PKGBUILD |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:51:35 UTC (rev 965784) +++ PKGBUILD2021-06-20 03:00:32 UTC (rev 965785) @@ -4,7 +4,7 @@ _hkgname=retry pkgname=haskell-retry pkgver=0.8.1.2 -pkgrel=118 +pkgrel=119 pkgdesc="Retry combinators for monadic actions that may fail" url="https://github.com/Soostone/retry"; license=("BSD") @@ -15,6 +15,12 @@ source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) sha512sums=('42856d43035e7c3a8128768c1a12fb1fbbd33ebc12fba152f5559e117a6339ea35a75e06243c320623e42a70916ad9f5a141988c42df4e44acb084210e2488e7') +prepare() { +cd $_hkgname-$pkgver +# https://github.com/Soostone/retry/issues/71 +sed -i 's/fmap \(.*\) genDuration/fmap (\\x -> \1 x) genDuration/g' test/Tests/Control/Retry.hs +} + build() { cd $_hkgname-$pkgver
[arch-commits] Commit in haskell-config-ini/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:51:35 Author: felixonmars Revision: 965784 archrelease: copy trunk to community-staging-x86_64 Added: haskell-config-ini/repos/community-staging-x86_64/ haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 965783, haskell-config-ini/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-config-ini/repos/community-staging-x86_64/PKGBUILD (from rev 965783, haskell-config-ini/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:51:35 UTC (rev 965784) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=config-ini +pkgname=haskell-config-ini +pkgver=0.2.4.0 +pkgrel=236 +pkgdesc="A library for simple INI-based configuration files." +url="https://github.com/aisamanra/config-ini"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-unordered-containers' 'haskell-megaparsec') +makedepends=('ghc' 'uusi' 'haskell-ini' 'haskell-hedgehog' 'haskell-doctest' 'haskell-microlens') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('76af8bf132d545425d9db5579df2e37fa08cad479adf5f586fb3becd0712e2329eae019db1796cd24c6fda80aa958e45450ebae74a5bcbdfad9337ae44696a5e') + +prepare() { +cd $_hkgname-$pkgver +uusi -u megaparsec $_hkgname.cabal +gen-setup +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --disable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-fenable-doctests +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +# https://github.com/aisamanra/config-ini/issues/22 +# runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-config-ini/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:51:23 Author: felixonmars Revision: 965783 upgpkg: haskell-config-ini 0.2.4.0-236: rebuild with ghc 9.0.1 Modified: haskell-config-ini/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:50:28 UTC (rev 965782) +++ PKGBUILD2021-06-20 02:51:23 UTC (rev 965783) @@ -4,7 +4,7 @@ _hkgname=config-ini pkgname=haskell-config-ini pkgver=0.2.4.0 -pkgrel=235 +pkgrel=236 pkgdesc="A library for simple INI-based configuration files." url="https://github.com/aisamanra/config-ini"; license=("BSD")
[arch-commits] Commit in haskell-validation-selective/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:50:28 Author: felixonmars Revision: 965782 archrelease: copy trunk to community-staging-x86_64 Added: haskell-validation-selective/repos/community-staging-x86_64/ haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD (from rev 965781, haskell-validation-selective/trunk/PKGBUILD) --+ PKGBUILD | 52 1 file changed, 52 insertions(+) Copied: haskell-validation-selective/repos/community-staging-x86_64/PKGBUILD (from rev 965781, haskell-validation-selective/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:50:28 UTC (rev 965782) @@ -0,0 +1,52 @@ +# Maintainer: Felix Yan +# Contributor: berberman + +_hkgname=validation-selective +pkgname=haskell-validation-selective +pkgver=0.1.0.1 +pkgrel=21 +pkgdesc="Lighweight pure data validation based on Applicative and Selective functors." +url="https://github.com/kowainik/validation-selective"; +license=('MPL2') +arch=('x86_64') +depends=('ghc-libs' 'haskell-selective') +makedepends=('ghc' 'uusi' 'haskell-doctest' 'haskell-hedgehog' 'haskell-hspec' 'haskell-hspec-hedgehog') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('7794b16331a6fcf01393ae2c993979488a273c83adeae8349585abea8221003063f562bcefd1da65ec3fc50a29dc5f52dd7577c3ae24962a024b4c8d068d5842') + +prepare(){ + cd $_hkgname-$pkgver + gen-setup + uusi -u hspec $_hkgname.cabal +} + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test --show-details=direct +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-validation-selective/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:50:15 Author: felixonmars Revision: 965781 upgpkg: haskell-validation-selective 0.1.0.1-21: rebuild with ghc 9.0.1 Modified: haskell-validation-selective/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:49:08 UTC (rev 965780) +++ PKGBUILD2021-06-20 02:50:15 UTC (rev 965781) @@ -4,7 +4,7 @@ _hkgname=validation-selective pkgname=haskell-validation-selective pkgver=0.1.0.1 -pkgrel=20 +pkgrel=21 pkgdesc="Lighweight pure data validation based on Applicative and Selective functors." url="https://github.com/kowainik/validation-selective"; license=('MPL2')
[arch-commits] Commit in haskell-hspec-hedgehog/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:49:08 Author: felixonmars Revision: 965780 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hspec-hedgehog/repos/community-staging-x86_64/ haskell-hspec-hedgehog/repos/community-staging-x86_64/PKGBUILD (from rev 965779, haskell-hspec-hedgehog/trunk/PKGBUILD) --+ PKGBUILD | 47 +++ 1 file changed, 47 insertions(+) Copied: haskell-hspec-hedgehog/repos/community-staging-x86_64/PKGBUILD (from rev 965779, haskell-hspec-hedgehog/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:49:08 UTC (rev 965780) @@ -0,0 +1,47 @@ +# Maintainer: Felix Yan +# Contributor: berberman + +_hkgname=hspec-hedgehog +pkgname=haskell-hspec-hedgehog +pkgver=0.0.1.2 +pkgrel=94 +pkgdesc="Integrate Hedgehog and Hspec!" +url="https://github.com/parsonsmatt/hspec-hedgehog/"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-hspec' 'haskell-hspec-core' 'haskell-hedgehog' + 'haskell-hunit' 'haskell-quickcheck' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('23582ee0f9807b2e49de5da4ae8ef83cb56db63a045a7db73d537eab35c9eb9d') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test --show-details=direct +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-hspec-hedgehog/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:48:48 Author: felixonmars Revision: 965779 upgpkg: haskell-hspec-hedgehog 0.0.1.2-94: rebuild with ghc 9.0.1 Modified: haskell-hspec-hedgehog/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:47:50 UTC (rev 965778) +++ PKGBUILD2021-06-20 02:48:48 UTC (rev 965779) @@ -4,7 +4,7 @@ _hkgname=hspec-hedgehog pkgname=haskell-hspec-hedgehog pkgver=0.0.1.2 -pkgrel=93 +pkgrel=94 pkgdesc="Integrate Hedgehog and Hspec!" url="https://github.com/parsonsmatt/hspec-hedgehog/"; license=('BSD')
[arch-commits] Commit in haskell-selective/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:47:50 Author: felixonmars Revision: 965778 archrelease: copy trunk to community-staging-x86_64 Added: haskell-selective/repos/community-staging-x86_64/ haskell-selective/repos/community-staging-x86_64/PKGBUILD (from rev 965777, haskell-selective/trunk/PKGBUILD) --+ PKGBUILD | 48 1 file changed, 48 insertions(+) Copied: haskell-selective/repos/community-staging-x86_64/PKGBUILD (from rev 965777, haskell-selective/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:47:50 UTC (rev 965778) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan + +_hkgname=selective +pkgname=haskell-selective +pkgver=0.4.2 +pkgrel=22 +pkgdesc="Selective applicative functors" +url="https://github.com/snowleopard/selective"; +license=('MIT') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'uusi' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-quickcheck') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('16e9dd4bbb4ffa628d5befd0b750af968c397a5d77ea0ca76f2638974f45f69a4ba8c982208a1ea2b8de2b0a846593d02137109ac7da405f448b9721563d0d19') + +prepare() { +cd $_hkgname-$pkgver +gen-setup +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-selective/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:47:37 Author: felixonmars Revision: 965777 upgpkg: haskell-selective 0.4.2-22: rebuild with ghc 9.0.1 Modified: haskell-selective/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:46:33 UTC (rev 965776) +++ PKGBUILD2021-06-20 02:47:37 UTC (rev 965777) @@ -3,7 +3,7 @@ _hkgname=selective pkgname=haskell-selective pkgver=0.4.2 -pkgrel=21 +pkgrel=22 pkgdesc="Selective applicative functors" url="https://github.com/snowleopard/selective"; license=('MIT')
[arch-commits] Commit in haskell-tasty-expected-failure/repos/community-staging-x86_64 (2 files)
Date: Sunday, June 20, 2021 @ 02:46:33 Author: felixonmars Revision: 965776 archrelease: copy trunk to community-staging-x86_64 Added: haskell-tasty-expected-failure/repos/community-staging-x86_64/PKGBUILD (from rev 965775, haskell-tasty-expected-failure/trunk/PKGBUILD) Deleted: haskell-tasty-expected-failure/repos/community-staging-x86_64/PKGBUILD --+ PKGBUILD | 102 ++--- 1 file changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-06-20 02:46:18 UTC (rev 965775) +++ PKGBUILD2021-06-20 02:46:33 UTC (rev 965776) @@ -1,51 +0,0 @@ -# Maintainer: Felix Yan -# Contributor: Arch Haskell Team - -_hkgname=tasty-expected-failure -pkgname=haskell-tasty-expected-failure -pkgver=0.12.3 -pkgrel=56 -pkgdesc="Mark tasty tests as failure expected" -url="https://github.com/nomeata/tasty-expected-failure"; -license=("MIT") -arch=('x86_64') -depends=('ghc-libs' 'haskell-tagged' 'haskell-tasty' 'haskell-unbounded-delays') -makedepends=('ghc') -checkdepends=('haskell-hedgehog' 'haskell-tasty-golden' 'haskell-tasty-hedgehog' - 'haskell-tasty-hunit') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) -sha512sums=('38a38a6b918355b341ac52fbbd63312fbc44f2071785401dc667bb50b030e8c1963c5eb8f890c36daa0987d2fb4748effa543076429e0c8dea58f2fb0bf29f0c') - -build() { -cd $_hkgname-$pkgver - -if (( CHECKFUNC )); then -_opts=('--enable-tests') -else -_opts=('--disable-tests') -fi - -runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ ---prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \ ---dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid -runhaskell Setup build $MAKEFLAGS -runhaskell Setup register --gen-script -runhaskell Setup unregister --gen-script -sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh -sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh -} - -check() { -cd $_hkgname-$pkgver -runhaskell Setup test --show-details=direct -} - -package() { -cd $_hkgname-$pkgver - -install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh -install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh -runhaskell Setup copy --destdir="$pkgdir" -install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE -} Copied: haskell-tasty-expected-failure/repos/community-staging-x86_64/PKGBUILD (from rev 965775, haskell-tasty-expected-failure/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-06-20 02:46:33 UTC (rev 965776) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=tasty-expected-failure +pkgname=haskell-tasty-expected-failure +pkgver=0.12.3 +pkgrel=57 +pkgdesc="Mark tasty tests as failure expected" +url="https://github.com/nomeata/tasty-expected-failure"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-tagged' 'haskell-tasty' 'haskell-unbounded-delays') +makedepends=('ghc') +checkdepends=('haskell-hedgehog' 'haskell-tasty-golden' 'haskell-tasty-hedgehog' + 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('38a38a6b918355b341ac52fbbd63312fbc44f2071785401dc667bb50b030e8c1963c5eb8f890c36daa0987d2fb4748effa543076429e0c8dea58f2fb0bf29f0c') + +build() { +cd $_hkgname-$pkgver + +if (( CHECKFUNC )); then +_opts=('--enable-tests') +else +_opts=('--disable-tests') +fi + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-tasty-expected-failure/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:46:18 Author: felixonmars Revision: 965775 upgpkg: haskell-tasty-expected-failure 0.12.3-57: rebuild with ghc 9.0.1 Modified: haskell-tasty-expected-failure/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:45:27 UTC (rev 965774) +++ PKGBUILD2021-06-20 02:46:18 UTC (rev 965775) @@ -4,7 +4,7 @@ _hkgname=tasty-expected-failure pkgname=haskell-tasty-expected-failure pkgver=0.12.3 -pkgrel=56 +pkgrel=57 pkgdesc="Mark tasty tests as failure expected" url="https://github.com/nomeata/tasty-expected-failure"; license=("MIT")
[arch-commits] Commit in haskell-tasty-hedgehog/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:45:27 Author: felixonmars Revision: 965774 archrelease: copy trunk to community-staging-x86_64 Added: haskell-tasty-hedgehog/repos/community-staging-x86_64/ haskell-tasty-hedgehog/repos/community-staging-x86_64/PKGBUILD (from rev 965773, haskell-tasty-hedgehog/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: haskell-tasty-hedgehog/repos/community-staging-x86_64/PKGBUILD (from rev 965773, haskell-tasty-hedgehog/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:45:27 UTC (rev 965774) @@ -0,0 +1,49 @@ +# Maintainer: Felix Yan + +_hkgname=tasty-hedgehog +pkgname=haskell-tasty-hedgehog +pkgver=1.1.0.0 +pkgrel=21 +pkgdesc="Integration for tasty and hedgehog" +url="https://github.com/qfpl/tasty-hedgehog"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-hedgehog' 'haskell-tagged' 'haskell-tasty') +makedepends=('ghc') +checkdepends=('haskell-tasty-expected-failure') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('48dda3dda14241f8d8dc77acf61a0fe77887c835ae9de6182c9fe580bb79e98f2480a14c282ff49b1438ffab197812262529e90dcec2af3785713f218490bce2') + +build() { +cd $_hkgname-$pkgver + +if (( CHECKFUNC )); then +_opts=('--enable-tests') +else +_opts=('--disable-tests') +fi + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 "LICENCE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENCE" +}
[arch-commits] Commit in haskell-tasty-hedgehog/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:45:11 Author: felixonmars Revision: 965773 upgpkg: haskell-tasty-hedgehog 1.1.0.0-21: rebuild with ghc 9.0.1 Modified: haskell-tasty-hedgehog/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:44:08 UTC (rev 965772) +++ PKGBUILD2021-06-20 02:45:11 UTC (rev 965773) @@ -3,7 +3,7 @@ _hkgname=tasty-hedgehog pkgname=haskell-tasty-hedgehog pkgver=1.1.0.0 -pkgrel=20 +pkgrel=21 pkgdesc="Integration for tasty and hedgehog" url="https://github.com/qfpl/tasty-hedgehog"; license=('BSD')
[arch-commits] Commit in haskell-hedgehog/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:44:08 Author: felixonmars Revision: 965772 archrelease: copy trunk to community-staging-x86_64 Added: haskell-hedgehog/repos/community-staging-x86_64/ haskell-hedgehog/repos/community-staging-x86_64/PKGBUILD (from rev 965771, haskell-hedgehog/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-hedgehog/repos/community-staging-x86_64/PKGBUILD (from rev 965771, haskell-hedgehog/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:44:08 UTC (rev 965772) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=hedgehog +pkgname=haskell-hedgehog +pkgver=1.0.5 +pkgrel=31 +pkgdesc="A modern property-based testing system" +url="https://hedgehog.qa"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-async' 'haskell-concurrent-output' + 'haskell-erf' 'haskell-lifted-async' 'haskell-mmorph' 'haskell-monad-control' + 'haskell-pretty-show' 'haskell-primitive' 'haskell-random' 'haskell-resourcet' + 'haskell-transformers-base' 'haskell-wl-pprint-annotated') +makedepends=('ghc' 'uusi') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('03a1bd64451ce90ce7bac67e9f558a97b33cb2f7eeec7885c76558f34018eb794f82344563c6b511094e9cf610a6c0f4c0a229455e57df8729fc093ec212dd98') + +prepare() { +cd $_hkgname-$pkgver +gen-setup +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-hedgehog/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:43:55 Author: felixonmars Revision: 965771 upgpkg: haskell-hedgehog 1.0.5-31: rebuild with ghc 9.0.1 Modified: haskell-hedgehog/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:42:33 UTC (rev 965770) +++ PKGBUILD2021-06-20 02:43:55 UTC (rev 965771) @@ -4,7 +4,7 @@ _hkgname=hedgehog pkgname=haskell-hedgehog pkgver=1.0.5 -pkgrel=30 +pkgrel=31 pkgdesc="A modern property-based testing system" url="https://hedgehog.qa"; license=("BSD")
[arch-commits] Commit in haskell-lifted-async/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:42:33 Author: felixonmars Revision: 965770 archrelease: copy trunk to community-staging-x86_64 Added: haskell-lifted-async/repos/community-staging-x86_64/ haskell-lifted-async/repos/community-staging-x86_64/PKGBUILD (from rev 965769, haskell-lifted-async/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-lifted-async/repos/community-staging-x86_64/PKGBUILD (from rev 965769, haskell-lifted-async/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:42:33 UTC (rev 965770) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan + +_hkgname=lifted-async +pkgname=haskell-lifted-async +pkgver=0.10.2 +pkgrel=22 +pkgdesc="Run lifted IO operations asynchronously and wait for their results" +url="https://github.com/maoe/lifted-async"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-async' 'haskell-constraints' 'haskell-lifted-base' + 'haskell-monad-control' 'haskell-transformers-base') +makedepends=('ghc') +checkdepends=('haskell-hunit' 'haskell-tasty' 'haskell-tasty-expected-failure' + 'haskell-tasty-hunit' 'haskell-tasty-th') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('eb2b33693ab1617fdeca934c6ede73c530e578425049804c3a0322a63b5262411453f80cb730dabd338590fc6b3093cd13872b9922f5cda4806741fc74ea63ee') + +build() { +cd $_hkgname-$pkgver + +if (( CHECKFUNC )); then +_opts=('--enable-tests') +else +_opts=('--disable-tests') +fi + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-lifted-async/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:42:20 Author: felixonmars Revision: 965769 upgpkg: haskell-lifted-async 0.10.2-22: rebuild with ghc 9.0.1 Modified: haskell-lifted-async/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:41:27 UTC (rev 965768) +++ PKGBUILD2021-06-20 02:42:20 UTC (rev 965769) @@ -3,7 +3,7 @@ _hkgname=lifted-async pkgname=haskell-lifted-async pkgver=0.10.2 -pkgrel=21 +pkgrel=22 pkgdesc="Run lifted IO operations asynchronously and wait for their results" url="https://github.com/maoe/lifted-async"; license=('BSD')
[arch-commits] Commit in haskell-tasty-expected-failure/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:41:27 Author: felixonmars Revision: 965768 archrelease: copy trunk to community-staging-x86_64 Added: haskell-tasty-expected-failure/repos/community-staging-x86_64/ haskell-tasty-expected-failure/repos/community-staging-x86_64/PKGBUILD (from rev 965767, haskell-tasty-expected-failure/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: haskell-tasty-expected-failure/repos/community-staging-x86_64/PKGBUILD (from rev 965767, haskell-tasty-expected-failure/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:41:27 UTC (rev 965768) @@ -0,0 +1,51 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=tasty-expected-failure +pkgname=haskell-tasty-expected-failure +pkgver=0.12.3 +pkgrel=56 +pkgdesc="Mark tasty tests as failure expected" +url="https://github.com/nomeata/tasty-expected-failure"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-tagged' 'haskell-tasty' 'haskell-unbounded-delays') +makedepends=('ghc') +checkdepends=('haskell-hedgehog' 'haskell-tasty-golden' 'haskell-tasty-hedgehog' + 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('38a38a6b918355b341ac52fbbd63312fbc44f2071785401dc667bb50b030e8c1963c5eb8f890c36daa0987d2fb4748effa543076429e0c8dea58f2fb0bf29f0c') + +build() { +cd $_hkgname-$pkgver + +if (( CHECKFUNC )); then +_opts=('--enable-tests') +else +_opts=('--disable-tests') +fi + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname "${_opts[@]}" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-tasty-expected-failure/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:41:14 Author: felixonmars Revision: 965767 upgpkg: haskell-tasty-expected-failure 0.12.3-56: rebuild with ghc 9.0.1 (rebuild pass 1, specified --nocheck) Modified: haskell-tasty-expected-failure/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:40:35 UTC (rev 965766) +++ PKGBUILD2021-06-20 02:41:14 UTC (rev 965767) @@ -4,7 +4,7 @@ _hkgname=tasty-expected-failure pkgname=haskell-tasty-expected-failure pkgver=0.12.3 -pkgrel=55 +pkgrel=56 pkgdesc="Mark tasty tests as failure expected" url="https://github.com/nomeata/tasty-expected-failure"; license=("MIT")
[arch-commits] Commit in haskell-tasty-th/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:40:35 Author: felixonmars Revision: 965766 archrelease: copy trunk to community-staging-x86_64 Added: haskell-tasty-th/repos/community-staging-x86_64/ haskell-tasty-th/repos/community-staging-x86_64/PKGBUILD (from rev 965765, haskell-tasty-th/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-tasty-th/repos/community-staging-x86_64/PKGBUILD (from rev 965765, haskell-tasty-th/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:40:35 UTC (rev 965766) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=tasty-th +pkgname=haskell-tasty-th +pkgver=0.1.7 +pkgrel=205 +pkgdesc="Automatic tasty test case discovery using TH" +url="https://github.com/bennofs/tasty-th"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-src-exts' 'haskell-tasty') +makedepends=('ghc' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('7302220ab27aaed22e064518e915610fd5dc7033a931f862fbc63e8a0b1cadcf9306ab3d54d48a10a200c8c8a62b9259462f513a6350df5a02836c6a29f51aef') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 "BSD3.txt" "${pkgdir}/usr/share/licenses/${pkgname}/BSD3.txt" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/BSD3.txt" +}
[arch-commits] Commit in haskell-tasty-th/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:40:22 Author: felixonmars Revision: 965765 upgpkg: haskell-tasty-th 0.1.7-205: rebuild with ghc 9.0.1 Modified: haskell-tasty-th/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:39:34 UTC (rev 965764) +++ PKGBUILD2021-06-20 02:40:22 UTC (rev 965765) @@ -4,7 +4,7 @@ _hkgname=tasty-th pkgname=haskell-tasty-th pkgver=0.1.7 -pkgrel=204 +pkgrel=205 pkgdesc="Automatic tasty test case discovery using TH" url="https://github.com/bennofs/tasty-th"; license=("BSD")
[arch-commits] Commit in haskell-tz/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:39:34 Author: felixonmars Revision: 965764 archrelease: copy trunk to community-staging-x86_64 Added: haskell-tz/repos/community-staging-x86_64/ haskell-tz/repos/community-staging-x86_64/PKGBUILD (from rev 965763, haskell-tz/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: haskell-tz/repos/community-staging-x86_64/PKGBUILD (from rev 965763, haskell-tz/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:39:34 UTC (rev 965764) @@ -0,0 +1,50 @@ +# Maintainer: Jelle van der Waa + +_hkgname=tz +pkgname=haskell-tz +pkgver=0.1.3.5 +pkgrel=12 +pkgdesc='Efficient time zone handling' +arch=(x86_64) +url='https://hackage.haskell.org/package/tz' +license=(BSD) +depends=(ghc-libs haskell-vector haskell-data-default haskell-tzdata) +checkdepends=(haskell-test-framework-th haskell-hunit haskell-quickcheck + haskell-test-framework-quickcheck2 haskell-test-framework-hunit) +makedepends=(ghc) +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('1821d84bcb2da33a4a1c22fd1c809d3bd49a91d05b5e9f7ef1b073bd91b970dee393a767f84e43c6f681add1cb77f39878089d380b39e8c7855b5429a7f5f97c') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--enable-tests \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test --show-details=direct +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +} + +# vim: ts=2 sw=2 et:
[arch-commits] Commit in haskell-tz/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:39:21 Author: felixonmars Revision: 965763 upgpkg: haskell-tz 0.1.3.5-12: rebuild with ghc 9.0.1 Modified: haskell-tz/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:38:19 UTC (rev 965762) +++ PKGBUILD2021-06-20 02:39:21 UTC (rev 965763) @@ -3,7 +3,7 @@ _hkgname=tz pkgname=haskell-tz pkgver=0.1.3.5 -pkgrel=11 +pkgrel=12 pkgdesc='Efficient time zone handling' arch=(x86_64) url='https://hackage.haskell.org/package/tz'
[arch-commits] Commit in haskell-tzdata/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:38:19 Author: felixonmars Revision: 965762 archrelease: copy trunk to community-staging-x86_64 Added: haskell-tzdata/repos/community-staging-x86_64/ haskell-tzdata/repos/community-staging-x86_64/PKGBUILD (from rev 965761, haskell-tzdata/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-tzdata/repos/community-staging-x86_64/PKGBUILD (from rev 965761, haskell-tzdata/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:38:19 UTC (rev 965762) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=tzdata +pkgname=haskell-tzdata +pkgver=0.2.20201021.0 +pkgrel=68 +pkgdesc="Haskell package that distributes the standard time zone database" +url="https://github.com/nilcons/haskell-tzdata"; +license=('Apache') +arch=('x86_64') +depends=('ghc-libs' 'haskell-vector') +makedepends=('ghc' 'haskell-test-framework' 'haskell-test-framework-hunit' + 'haskell-test-framework-th') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('631a3a5f3e8cb30c20e67b51ceeeb11cd0f44f93f87b50b7aecd95b64b47d6101dbb623c7418a121f9d370dfddc2e77495457b03abf8f93dd88f4d34fa21657a') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-tzdata/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:38:05 Author: felixonmars Revision: 965761 upgpkg: haskell-tzdata 0.2.20201021.0-68: rebuild with ghc 9.0.1 Modified: haskell-tzdata/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:36:40 UTC (rev 965760) +++ PKGBUILD2021-06-20 02:38:05 UTC (rev 965761) @@ -3,7 +3,7 @@ _hkgname=tzdata pkgname=haskell-tzdata pkgver=0.2.20201021.0 -pkgrel=67 +pkgrel=68 pkgdesc="Haskell package that distributes the standard time zone database" url="https://github.com/nilcons/haskell-tzdata"; license=('Apache')
[arch-commits] Commit in haskell-test-framework-th/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:36:40 Author: felixonmars Revision: 965760 archrelease: copy trunk to community-staging-x86_64 Added: haskell-test-framework-th/repos/community-staging-x86_64/ haskell-test-framework-th/repos/community-staging-x86_64/PKGBUILD (from rev 965759, haskell-test-framework-th/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-test-framework-th/repos/community-staging-x86_64/PKGBUILD (from rev 965759, haskell-test-framework-th/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:36:40 UTC (rev 965760) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan + +_hkgname=test-framework-th +pkgname=haskell-test-framework-th +pkgver=0.2.4 +pkgrel=124 +pkgdesc="Automagically generate the HUnit- and Quickcheck-bulk-code using Template Haskell" +url="https://github.com/finnsson/test-generator"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-test-framework' 'haskell-language-haskell-extract' 'haskell-src-exts' + 'haskell-regex-posix') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('0e8b6898eb7bf481bafb0c9ff9caa615dbf768e538e26b15ab899c5c9a1ad6bd6ed76ef93cf9a823706046d41f49fbb0cbe660bf846e59a608a0e5d21e89686b') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 "BSD3.txt" "${pkgdir}/usr/share/licenses/${pkgname}/BSD3.txt" +rm -f "${pkgdir}/usr/share/doc/${pkgname}/BSD3.txt" +}
[arch-commits] Commit in haskell-test-framework-th/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:36:26 Author: felixonmars Revision: 965759 upgpkg: haskell-test-framework-th 0.2.4-124: rebuild with ghc 9.0.1 Modified: haskell-test-framework-th/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:35:40 UTC (rev 965758) +++ PKGBUILD2021-06-20 02:36:26 UTC (rev 965759) @@ -3,7 +3,7 @@ _hkgname=test-framework-th pkgname=haskell-test-framework-th pkgver=0.2.4 -pkgrel=123 +pkgrel=124 pkgdesc="Automagically generate the HUnit- and Quickcheck-bulk-code using Template Haskell" url="https://github.com/finnsson/test-generator"; license=('BSD')
[arch-commits] Commit in haskell-here/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:35:40 Author: felixonmars Revision: 965758 archrelease: copy trunk to community-staging-x86_64 Added: haskell-here/repos/community-staging-x86_64/ haskell-here/repos/community-staging-x86_64/PKGBUILD (from rev 965757, haskell-here/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: haskell-here/repos/community-staging-x86_64/PKGBUILD (from rev 965757, haskell-here/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:35:40 UTC (rev 965758) @@ -0,0 +1,38 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=here +pkgname=haskell-here +pkgver=1.2.13 +pkgrel=231 +pkgdesc="Here docs & interpolated strings via quasiquotation" +url="https://github.com/tmhedberg/here"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' "haskell-src-meta") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('aa6ddfad039a90950389c50699dd5f7230bd1ac9b2b9345d5d0c8e8470707216093553dfe89480c31f19374b905e319b8216b8939051278ae41d79ccc5b160fb') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-here/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:35:26 Author: felixonmars Revision: 965757 upgpkg: haskell-here 1.2.13-231: rebuild with ghc 9.0.1 Modified: haskell-here/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:34:34 UTC (rev 965756) +++ PKGBUILD2021-06-20 02:35:26 UTC (rev 965757) @@ -4,7 +4,7 @@ _hkgname=here pkgname=haskell-here pkgver=1.2.13 -pkgrel=230 +pkgrel=231 pkgdesc="Here docs & interpolated strings via quasiquotation" url="https://github.com/tmhedberg/here"; license=("BSD")
[arch-commits] Commit in haskell-interpolatedstring-perl6/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:34:34 Author: felixonmars Revision: 965756 archrelease: copy trunk to community-staging-x86_64 Added: haskell-interpolatedstring-perl6/repos/community-staging-x86_64/ haskell-interpolatedstring-perl6/repos/community-staging-x86_64/PKGBUILD (from rev 965755, haskell-interpolatedstring-perl6/trunk/PKGBUILD) --+ PKGBUILD | 37 + 1 file changed, 37 insertions(+) Copied: haskell-interpolatedstring-perl6/repos/community-staging-x86_64/PKGBUILD (from rev 965755, haskell-interpolatedstring-perl6/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:34:34 UTC (rev 965756) @@ -0,0 +1,37 @@ +# Maintainer: Felix Yan + +_hkgname=interpolatedstring-perl6 +pkgname=haskell-interpolatedstring-perl6 +pkgver=1.0.2 +pkgrel=146 +pkgdesc="QuasiQuoter for Perl6-style multi-line interpolated strings" +url="https://github.com/audreyt/interpolatedstring-perl6"; +license=('custom:PublicDomain') +arch=('x86_64') +depends=('ghc-libs' 'haskell-src-meta') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('660e2fafe2f5a03baf16d56fa298e9fe0df677023fff7b3e5d8879910a76066b95a753fffc0c6374fd405de67f54c1410d4542f6d85823e8e87277bde28624a7') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir="$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-interpolatedstring-perl6/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:34:20 Author: felixonmars Revision: 965755 upgpkg: haskell-interpolatedstring-perl6 1.0.2-146: rebuild with ghc 9.0.1 Modified: haskell-interpolatedstring-perl6/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:33:35 UTC (rev 965754) +++ PKGBUILD2021-06-20 02:34:20 UTC (rev 965755) @@ -3,7 +3,7 @@ _hkgname=interpolatedstring-perl6 pkgname=haskell-interpolatedstring-perl6 pkgver=1.0.2 -pkgrel=145 +pkgrel=146 pkgdesc="QuasiQuoter for Perl6-style multi-line interpolated strings" url="https://github.com/audreyt/interpolatedstring-perl6"; license=('custom:PublicDomain')
[arch-commits] Commit in haskell-src-meta/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:33:35 Author: felixonmars Revision: 965754 archrelease: copy trunk to community-staging-x86_64 Added: haskell-src-meta/repos/community-staging-x86_64/ haskell-src-meta/repos/community-staging-x86_64/PKGBUILD (from rev 965753, haskell-src-meta/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-src-meta/repos/community-staging-x86_64/PKGBUILD (from rev 965753, haskell-src-meta/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:33:35 UTC (rev 965754) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=haskell-src-meta +pkgname=haskell-src-meta +pkgver=0.8.7 +pkgrel=23 +pkgdesc="Parse source to template-haskell abstract syntax" +url="https://github.com/bmillwood/haskell-src-meta"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-src-exts' 'haskell-syb' 'haskell-th-orphans') +makedepends=('ghc' 'haskell-hunit' 'haskell-tasty' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('9a4d376be83b21b6289125a6b21dd309ebb336996f35cd72ff0e93bab7071f25b505897aa60d2f9b7809c18d6f03cb5335c2bfbf895edf4423b34801dd608f94') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-src-meta/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:33:17 Author: felixonmars Revision: 965753 upgpkg: haskell-src-meta 0.8.7-23: rebuild with ghc 9.0.1 Modified: haskell-src-meta/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:32:25 UTC (rev 965752) +++ PKGBUILD2021-06-20 02:33:17 UTC (rev 965753) @@ -4,7 +4,7 @@ _hkgname=haskell-src-meta pkgname=haskell-src-meta pkgver=0.8.7 -pkgrel=22 +pkgrel=23 pkgdesc="Parse source to template-haskell abstract syntax" url="https://github.com/bmillwood/haskell-src-meta"; license=("BSD")
[arch-commits] Commit in haskell-src-exts-util/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:32:25 Author: felixonmars Revision: 965752 archrelease: copy trunk to community-staging-x86_64 Added: haskell-src-exts-util/repos/community-staging-x86_64/ haskell-src-exts-util/repos/community-staging-x86_64/PKGBUILD (from rev 965751, haskell-src-exts-util/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-src-exts-util/repos/community-staging-x86_64/PKGBUILD (from rev 965751, haskell-src-exts-util/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:32:25 UTC (rev 965752) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=haskell-src-exts-util +pkgname=haskell-src-exts-util +pkgver=0.2.5 +pkgrel=156 +pkgdesc="Helper functions for working with haskell-src-exts trees" +url="https://github.com/pepeiborra/haskell-src-exts-util"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-data-default' 'haskell-src-exts' 'haskell-uniplate') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('0497d8e2206402cc295289b1893f326c8f5fa7fc00177279b7af389b3351a94a123d7eb754d8a245981bae51d1a978684791d9b111befca2888bc7fe22f07147') + +prepare() { +cd $_hkgname-$pkgver +sed -i '/semigroups/d' $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-src-exts-util/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:32:12 Author: felixonmars Revision: 965751 upgpkg: haskell-src-exts-util 0.2.5-156: rebuild with ghc 9.0.1 Modified: haskell-src-exts-util/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:31:43 UTC (rev 965750) +++ PKGBUILD2021-06-20 02:32:12 UTC (rev 965751) @@ -3,7 +3,7 @@ _hkgname=haskell-src-exts-util pkgname=haskell-src-exts-util pkgver=0.2.5 -pkgrel=155 +pkgrel=156 pkgdesc="Helper functions for working with haskell-src-exts trees" url="https://github.com/pepeiborra/haskell-src-exts-util"; license=("BSD")
[arch-commits] Commit in jedi-language-server/repos/community-any (PKGBUILD PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:31:43 Author: polyzen Revision: 965750 archrelease: copy trunk to community-any Added: jedi-language-server/repos/community-any/PKGBUILD (from rev 965749, jedi-language-server/trunk/PKGBUILD) Deleted: jedi-language-server/repos/community-any/PKGBUILD --+ PKGBUILD | 85 ++--- 1 file changed, 42 insertions(+), 43 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-06-20 02:31:22 UTC (rev 965749) +++ PKGBUILD2021-06-20 02:31:43 UTC (rev 965750) @@ -1,43 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=jedi-language-server -pkgver=0.32.0 -pkgrel=1 -pkgdesc='Language server for Jedi' -arch=('any') -url=https://github.com/pappasam/jedi-language-server -license=('MIT') -depends=('python-docstring-to-markdown' 'python-jedi' 'python-pygls') -makedepends=('python-pip' 'python-poetry') -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";) -sha256sums=('08eb5bff423d61ad56ae3bffb036638c1f6ae154daf57218148c274f4a9ea591') -b2sums=('3265cb3c7118e520aeafd264a8e0089d0dad1537f12dd46358b2d96d86f1f4a894619e8fa9fc06421631f916a618249e0b35283d7ba0c39e8379caa190b96c1f') - -prepare() { - cd $pkgname-$pkgver - # Avoid installing files directly under site-packages/ - sed -i '/include = \["README.md"\]/d' pyproject.toml -} - -build() { - cd $pkgname-$pkgver - poetry build --format wheel -} - -package() { - cd $pkgname-$pkgver - export PYTHONHASHSEED=0 - export PIP_CONFIG_FILE=/dev/null - pip install --isolated \ - --no-deps \ - --root="$pkgdir" \ - --ignore-installed \ - --no-warn-script-location dist/*.whl - - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - install -d "$pkgdir"/usr/share/licenses/$pkgname - ln -s $site_packages/${pkgname//-/_}-$pkgver.dist-info/LICENSE \ -"$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: jedi-language-server/repos/community-any/PKGBUILD (from rev 965749, jedi-language-server/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-06-20 02:31:43 UTC (rev 965750) @@ -0,0 +1,42 @@ +# Maintainer: Daniel M. Capella + +pkgname=jedi-language-server +pkgver=0.32.0 +pkgrel=2 +pkgdesc='Language server for Jedi' +arch=('any') +url=https://github.com/pappasam/jedi-language-server +license=('MIT') +depends=('python-docstring-to-markdown' 'python-jedi' 'python-pygls') +makedepends=('python-build' 'python-install' 'python-poetry') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";) +sha256sums=('08eb5bff423d61ad56ae3bffb036638c1f6ae154daf57218148c274f4a9ea591') +b2sums=('3265cb3c7118e520aeafd264a8e0089d0dad1537f12dd46358b2d96d86f1f4a894619e8fa9fc06421631f916a618249e0b35283d7ba0c39e8379caa190b96c1f') + +prepare() { + cd $pkgname-$pkgver + # Remove include list https://github.com/pypa/wheel/issues/92 + sed -i '/include = \["README.md"\]/d' pyproject.toml +} + +build() { + cd $pkgname-$pkgver + python -m build --wheel --skip-dependency-check --no-isolation +} + +package() { + cd $pkgname-$pkgver + export PYTHONHASHSEED=0 + python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl + + # https://github.com/FFY00/python-install/pull/6 + chmod +x "$pkgdir"/usr/bin/$pkgname + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s $site_packages/${pkgname//-/_}-$pkgver.dist-info/LICENSE \ +"$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in jedi-language-server/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:31:22 Author: polyzen Revision: 965749 upgpkg: jedi-language-server 0.32.0-2: Use python-build/install Modified: jedi-language-server/trunk/PKGBUILD --+ PKGBUILD | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:31:16 UTC (rev 965748) +++ PKGBUILD2021-06-20 02:31:22 UTC (rev 965749) @@ -2,13 +2,13 @@ pkgname=jedi-language-server pkgver=0.32.0 -pkgrel=1 +pkgrel=2 pkgdesc='Language server for Jedi' arch=('any') url=https://github.com/pappasam/jedi-language-server license=('MIT') depends=('python-docstring-to-markdown' 'python-jedi' 'python-pygls') -makedepends=('python-pip' 'python-poetry') +makedepends=('python-build' 'python-install' 'python-poetry') source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz";) sha256sums=('08eb5bff423d61ad56ae3bffb036638c1f6ae154daf57218148c274f4a9ea591') b2sums=('3265cb3c7118e520aeafd264a8e0089d0dad1537f12dd46358b2d96d86f1f4a894619e8fa9fc06421631f916a618249e0b35283d7ba0c39e8379caa190b96c1f') @@ -15,25 +15,24 @@ prepare() { cd $pkgname-$pkgver - # Avoid installing files directly under site-packages/ + # Remove include list https://github.com/pypa/wheel/issues/92 sed -i '/include = \["README.md"\]/d' pyproject.toml } build() { cd $pkgname-$pkgver - poetry build --format wheel + python -m build --wheel --skip-dependency-check --no-isolation } package() { cd $pkgname-$pkgver export PYTHONHASHSEED=0 - export PIP_CONFIG_FILE=/dev/null - pip install --isolated \ - --no-deps \ - --root="$pkgdir" \ - --ignore-installed \ - --no-warn-script-location dist/*.whl + python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl + # https://github.com/FFY00/python-install/pull/6 + chmod +x "$pkgdir"/usr/bin/$pkgname + + # Symlink license file local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") install -d "$pkgdir"/usr/share/licenses/$pkgname ln -s $site_packages/${pkgname//-/_}-$pkgver.dist-info/LICENSE \
[arch-commits] Commit in haskell-src-exts/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:31:16 Author: felixonmars Revision: 965748 archrelease: copy trunk to community-staging-x86_64 Added: haskell-src-exts/repos/community-staging-x86_64/ haskell-src-exts/repos/community-staging-x86_64/PKGBUILD (from rev 965747, haskell-src-exts/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: haskell-src-exts/repos/community-staging-x86_64/PKGBUILD (from rev 965747, haskell-src-exts/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:31:16 UTC (rev 965748) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=haskell-src-exts +pkgname=haskell-src-exts +pkgver=1.23.1 +pkgrel=94 +pkgdesc="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer" +url="https://github.com/haskell-suite/haskell-src-exts"; +license=("custom:BSD") +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'happy' 'haskell-pretty-show' 'haskell-smallcheck' 'haskell-tasty' + 'haskell-tasty-golden' 'haskell-tasty-smallcheck') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('c9e6e4d93c2b4ee84d57707aed526291b5c4e297f06a3921257feb0c1df3bb095addd4b1d9bb187650490364647385ab6322e4fc54f9a7648da439a34329d734') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +# https://github.com/haskell-suite/haskell-src-exts/issues/448 +runhaskell Setup test || : +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-src-exts/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:31:01 Author: felixonmars Revision: 965747 upgpkg: haskell-src-exts 1.23.1-94: rebuild with ghc 9.0.1 Modified: haskell-src-exts/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:25:46 UTC (rev 965746) +++ PKGBUILD2021-06-20 02:31:01 UTC (rev 965747) @@ -4,7 +4,7 @@ _hkgname=haskell-src-exts pkgname=haskell-src-exts pkgver=1.23.1 -pkgrel=93 +pkgrel=94 pkgdesc="Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer" url="https://github.com/haskell-suite/haskell-src-exts"; license=("custom:BSD")
[arch-commits] Commit in haskell-tasty-golden/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:25:46 Author: felixonmars Revision: 965746 archrelease: copy trunk to community-staging-x86_64 Added: haskell-tasty-golden/repos/community-staging-x86_64/ haskell-tasty-golden/repos/community-staging-x86_64/PKGBUILD (from rev 965745, haskell-tasty-golden/trunk/PKGBUILD) --+ PKGBUILD | 44 1 file changed, 44 insertions(+) Copied: haskell-tasty-golden/repos/community-staging-x86_64/PKGBUILD (from rev 965745, haskell-tasty-golden/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:25:46 UTC (rev 965746) @@ -0,0 +1,44 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=tasty-golden +pkgname=haskell-tasty-golden +pkgver=2.3.4 +pkgrel=92 +pkgdesc="Golden tests support for tasty" +url="https://github.com/feuerbach/tasty-golden"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' "haskell-tasty" "haskell-optparse-applicative" "haskell-temporary" + "haskell-tagged" "haskell-async" 'haskell-unix-compat') +makedepends=('ghc' 'haskell-tasty-hunit') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('fbc309cf7951a348f172c7cb115ef53d6cda77d47793ebbf9fbfd697187dc8773e6283d705162ce0beb877887136f34db315de0e8d48eff5f872acce32ebf516') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-tasty-golden/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:25:33 Author: felixonmars Revision: 965745 upgpkg: haskell-tasty-golden 2.3.4-92: rebuild with ghc 9.0.1 Modified: haskell-tasty-golden/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:24:49 UTC (rev 965744) +++ PKGBUILD2021-06-20 02:25:33 UTC (rev 965745) @@ -4,7 +4,7 @@ _hkgname=tasty-golden pkgname=haskell-tasty-golden pkgver=2.3.4 -pkgrel=91 +pkgrel=92 pkgdesc="Golden tests support for tasty" url="https://github.com/feuerbach/tasty-golden"; license=("MIT")
[arch-commits] Commit in haskell-monad-memo/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:24:49 Author: felixonmars Revision: 965744 archrelease: copy trunk to community-staging-x86_64 Added: haskell-monad-memo/repos/community-staging-x86_64/ haskell-monad-memo/repos/community-staging-x86_64/PKGBUILD (from rev 965743, haskell-monad-memo/trunk/PKGBUILD) --+ PKGBUILD | 46 ++ 1 file changed, 46 insertions(+) Copied: haskell-monad-memo/repos/community-staging-x86_64/PKGBUILD (from rev 965743, haskell-monad-memo/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:24:49 UTC (rev 965744) @@ -0,0 +1,46 @@ +# Maintainer: Felix Yan + +_hkgname=monad-memo +pkgname=haskell-monad-memo +pkgver=0.5.3 +pkgrel=69 +pkgdesc="Memoization monad transformer" +url="https://github.com/EduardSergeev/monad-memo"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs' 'haskell-primitive' 'haskell-vector') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-random' 'haskell-test-framework' + 'haskell-test-framework-quickcheck2') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('16f8c46673ac2564cd7d4d7ce901c25ded61d72283a93985db24dc6736c60dbb') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test --show-details=direct +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-monad-memo/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:24:36 Author: felixonmars Revision: 965743 upgpkg: haskell-monad-memo 0.5.3-69: rebuild with ghc 9.0.1 Modified: haskell-monad-memo/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:23:33 UTC (rev 965742) +++ PKGBUILD2021-06-20 02:24:36 UTC (rev 965743) @@ -3,7 +3,7 @@ _hkgname=monad-memo pkgname=haskell-monad-memo pkgver=0.5.3 -pkgrel=68 +pkgrel=69 pkgdesc="Memoization monad transformer" url="https://github.com/EduardSergeev/monad-memo"; license=("BSD")
[arch-commits] Commit in haskell-rope-utf16-splay/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:23:33 Author: felixonmars Revision: 965742 archrelease: copy trunk to community-staging-x86_64 Added: haskell-rope-utf16-splay/repos/community-staging-x86_64/ haskell-rope-utf16-splay/repos/community-staging-x86_64/PKGBUILD (from rev 965741, haskell-rope-utf16-splay/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-rope-utf16-splay/repos/community-staging-x86_64/PKGBUILD (from rev 965741, haskell-rope-utf16-splay/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:23:33 UTC (rev 965742) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan + +_hkgname=rope-utf16-splay +pkgname=haskell-rope-utf16-splay +pkgver=0.3.2.0 +pkgrel=31 +pkgdesc="Ropes optimised for updating using UTF-16 code units and row/column pairs" +url="https://github.com/ollef/rope-utf16-splay"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'haskell-quickcheck' 'haskell-tasty' 'haskell-tasty-hunit' + 'haskell-tasty-quickcheck') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('fee73143082faeee604abfde5d7494b3c8f42016de3e4ae6edd2141730daca7e3ab803eff1787e43e2c5b484b419b4ccb64d753562f7a33bb19451556212049d') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-rope-utf16-splay/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:23:19 Author: felixonmars Revision: 965741 upgpkg: haskell-rope-utf16-splay 0.3.2.0-31: rebuild with ghc 9.0.1 Modified: haskell-rope-utf16-splay/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:22:31 UTC (rev 965740) +++ PKGBUILD2021-06-20 02:23:19 UTC (rev 965741) @@ -3,7 +3,7 @@ _hkgname=rope-utf16-splay pkgname=haskell-rope-utf16-splay pkgver=0.3.2.0 -pkgrel=30 +pkgrel=31 pkgdesc="Ropes optimised for updating using UTF-16 code units and row/column pairs" url="https://github.com/ollef/rope-utf16-splay"; license=('BSD')
[arch-commits] Commit in haskell-tasty-hspec/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:22:31 Author: felixonmars Revision: 965740 archrelease: copy trunk to community-staging-x86_64 Added: haskell-tasty-hspec/repos/community-staging-x86_64/ haskell-tasty-hspec/repos/community-staging-x86_64/PKGBUILD (from rev 965739, haskell-tasty-hspec/trunk/PKGBUILD) --+ PKGBUILD | 43 +++ 1 file changed, 43 insertions(+) Copied: haskell-tasty-hspec/repos/community-staging-x86_64/PKGBUILD (from rev 965739, haskell-tasty-hspec/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:22:31 UTC (rev 965740) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan + +_hkgname=tasty-hspec +pkgname=haskell-tasty-hspec +pkgver=1.2 +pkgrel=6 +pkgdesc="Hspec support for the Tasty test framework" +url="https://github.com/mitchellwrosen/tasty-hspec"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-hspec' 'haskell-hspec-core' 'haskell-quickcheck' 'haskell-tasty' + 'haskell-tasty-smallcheck' 'haskell-tasty-quickcheck') +makedepends=('ghc') +source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +sha512sums=('32cd6dab1f4f6dfacb582d586f133348b0abe26e3a01edefb2ae3ea23aef79cd4bf1f65751b5e47333f8d1d098a15ac6e03a65d1543e8ef662b0636e34df5133') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-tasty-hspec/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:22:18 Author: felixonmars Revision: 965739 upgpkg: haskell-tasty-hspec 1.2-6: rebuild with ghc 9.0.1 Modified: haskell-tasty-hspec/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:21:36 UTC (rev 965738) +++ PKGBUILD2021-06-20 02:22:18 UTC (rev 965739) @@ -3,7 +3,7 @@ _hkgname=tasty-hspec pkgname=haskell-tasty-hspec pkgver=1.2 -pkgrel=5 +pkgrel=6 pkgdesc="Hspec support for the Tasty test framework" url="https://github.com/mitchellwrosen/tasty-hspec"; license=('BSD')
[arch-commits] Commit in haskell-data-dword/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:21:36 Author: felixonmars Revision: 965738 archrelease: copy trunk to community-staging-x86_64 Added: haskell-data-dword/repos/community-staging-x86_64/ haskell-data-dword/repos/community-staging-x86_64/PKGBUILD (from rev 965737, haskell-data-dword/trunk/PKGBUILD) --+ PKGBUILD | 42 ++ 1 file changed, 42 insertions(+) Copied: haskell-data-dword/repos/community-staging-x86_64/PKGBUILD (from rev 965737, haskell-data-dword/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:21:36 UTC (rev 965738) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan + +_hkgname=data-dword +pkgname=haskell-data-dword +pkgver=0.3.2 +pkgrel=92 +pkgdesc="Stick two binary words together to get a bigger one" +url="https://github.com/mvv/data-dword"; +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-data-bword' 'haskell-hashable') +makedepends=('ghc' 'haskell-tasty' 'haskell-tasty-quickcheck') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('df31147e56d5464397d84b24c86dc33767343bc62978b91df3fcc06872f63ad38cbe6c15f6c225a65499ac23ba3e9046535e3b6e3e59fc89bcb004634f50992e') + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-data-dword/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:21:23 Author: felixonmars Revision: 965737 upgpkg: haskell-data-dword 0.3.2-92: rebuild with ghc 9.0.1 Modified: haskell-data-dword/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:19:47 UTC (rev 965736) +++ PKGBUILD2021-06-20 02:21:23 UTC (rev 965737) @@ -3,7 +3,7 @@ _hkgname=data-dword pkgname=haskell-data-dword pkgver=0.3.2 -pkgrel=91 +pkgrel=92 pkgdesc="Stick two binary words together to get a bigger one" url="https://github.com/mvv/data-dword"; license=('BSD')
[arch-commits] Commit in haskell-spdx/repos (2 files)
Date: Sunday, June 20, 2021 @ 02:19:47 Author: felixonmars Revision: 965736 archrelease: copy trunk to community-staging-x86_64 Added: haskell-spdx/repos/community-staging-x86_64/ haskell-spdx/repos/community-staging-x86_64/PKGBUILD (from rev 965735, haskell-spdx/trunk/PKGBUILD) --+ PKGBUILD | 48 1 file changed, 48 insertions(+) Copied: haskell-spdx/repos/community-staging-x86_64/PKGBUILD (from rev 965735, haskell-spdx/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-20 02:19:47 UTC (rev 965736) @@ -0,0 +1,48 @@ +# Maintainer: Felix Yan +# Contributor: Arch Haskell Team + +_hkgname=spdx +pkgname=haskell-spdx +pkgver=1.0.0.2 +pkgrel=93 +pkgdesc="SPDX license expression language, Extras" +url="https://github.com/phadej/spdx"; +license=("BSD") +arch=('x86_64') +depends=('ghc-libs') +makedepends=('ghc' 'uusi' 'haskell-base-compat' 'haskell-tasty' 'haskell-tasty-quickcheck') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) +sha512sums=('2fb48d204a0c85269d4dbd6bd98efefb0691adc3eb654228b90b244c0d062e0e2f23c42e5f7ef9ab27a2f988654485fec11c3bdc0642b9b17d35791dd80f1548') + +prepare() { +cd $_hkgname-$pkgver +uusi -u base -u base-compat -u Cabal -u tasty $_hkgname.cabal +} + +build() { +cd $_hkgname-$pkgver + +runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid +runhaskell Setup build $MAKEFLAGS +runhaskell Setup register --gen-script +runhaskell Setup unregister --gen-script +sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh +sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { +cd $_hkgname-$pkgver +runhaskell Setup test --show-details=direct +} + +package() { +cd $_hkgname-$pkgver + +install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh +install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh +runhaskell Setup copy --destdir="$pkgdir" +install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-spdx/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:19:34 Author: felixonmars Revision: 965735 upgpkg: haskell-spdx 1.0.0.2-93: rebuild with ghc 9.0.1 Modified: haskell-spdx/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 02:07:35 UTC (rev 965734) +++ PKGBUILD2021-06-20 02:19:34 UTC (rev 965735) @@ -4,19 +4,19 @@ _hkgname=spdx pkgname=haskell-spdx pkgver=1.0.0.2 -pkgrel=92 +pkgrel=93 pkgdesc="SPDX license expression language, Extras" url="https://github.com/phadej/spdx"; license=("BSD") arch=('x86_64') depends=('ghc-libs') -makedepends=('ghc' 'haskell-base-compat' 'haskell-tasty' 'haskell-tasty-quickcheck') +makedepends=('ghc' 'uusi' 'haskell-base-compat' 'haskell-tasty' 'haskell-tasty-quickcheck') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";) sha512sums=('2fb48d204a0c85269d4dbd6bd98efefb0691adc3eb654228b90b244c0d062e0e2f23c42e5f7ef9ab27a2f988654485fec11c3bdc0642b9b17d35791dd80f1548') prepare() { cd $_hkgname-$pkgver -sed -i 's/\^//;s/< *1.3/<2/' $_hkgname.cabal +uusi -u base -u base-compat -u Cabal -u tasty $_hkgname.cabal } build() {
[arch-commits] Commit in rofimoji/repos/community-any (4 files)
Date: Sunday, June 20, 2021 @ 02:07:35 Author: polyzen Revision: 965734 archrelease: copy trunk to community-any Added: rofimoji/repos/community-any/PKGBUILD (from rev 965733, rofimoji/trunk/PKGBUILD) rofimoji/repos/community-any/rofimoji.install (from rev 965733, rofimoji/trunk/rofimoji.install) Deleted: rofimoji/repos/community-any/PKGBUILD rofimoji/repos/community-any/rofimoji.install --+ PKGBUILD | 100 +++-- rofimoji.install | 12 +++--- 2 files changed, 58 insertions(+), 54 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-06-20 02:07:04 UTC (rev 965733) +++ PKGBUILD2021-06-20 02:07:35 UTC (rev 965734) @@ -1,48 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=rofimoji -pkgver=5.2.0 -pkgrel=1 -pkgdesc='Character picker for rofi' -arch=('any') -url=https://github.com/fdw/rofimoji -license=('MIT') -depends=('python-configargparse') -makedepends=('python-build' 'python-install' 'python-setuptools' 'python-wheel') -optdepends=('emoji-font: for the emojis character file' -'nerd-fonts: for the nerd_font character file' -'rofi: for the X.Org selector' -'xclip: for one of the X.Org clipboarders' -'xsel: for one of the X.Org clipboarders' -'xdotool: for the X.Org typer' -'wofi: for the Wayland selector' -'wl-clipboard: for the Wayland clipboarder' -'wtype: for the Wayland typer') -install=$pkgname.install -source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz") -b2sums=('9df9024215ba6998d2a2d396ed7b5da905d43eb5506bd2de3ffd163d727f30c2ac4b7e5fd27d44ea1af0ce54c8ac0a4a06b19bafab1e62d1bd5e4a3cfcf41a9c') - -build() { - cd $pkgname-$pkgver - python -m build --wheel --skip-dependency-check --no-isolation -} - -package() { - cd $pkgname-$pkgver - export PYTHONHASHSEED=0 - python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl - - cd "$pkgdir" - # https://github.com/FFY00/python-install/pull/6 - chmod +x usr/bin/$pkgname - - # Symlink license file and move data files where they belong - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - install -d usr/share/{licenses/$pkgname,man/man1} - ln -s $site_packages/${pkgname//-/_}-$pkgver.dist-info/LICENSE \ -usr/share/licenses/$pkgname/LICENSE - mv {./$site_packages,usr}/share/man/man1/$pkgname.1 - rm -r ./$site_packages/share -} - -# vim:set ts=2 sw=2 et: Copied: rofimoji/repos/community-any/PKGBUILD (from rev 965733, rofimoji/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-06-20 02:07:35 UTC (rev 965734) @@ -0,0 +1,52 @@ +# Maintainer: Daniel M. Capella + +pkgname=rofimoji +pkgver=5.2.0 +pkgrel=2 +pkgdesc='Character picker for rofi' +arch=('any') +url=https://github.com/fdw/rofimoji +license=('MIT') +depends=('python-configargparse') +makedepends=('python-build' 'python-install' 'python-setuptools' 'python-wheel') +optdepends=('emoji-font: for the emojis character file' +'nerd-fonts: for the nerd_font character file' +'rofi: for the X.Org selector' +'xclip: for one of the X.Org clipboarders' +'xsel: for one of the X.Org clipboarders' +'xdotool: for the X.Org typer' +'wofi: for the Wayland selector' +'wl-clipboard: for the Wayland clipboarder' +'wtype: for the Wayland typer') +install=$pkgname.install +source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz") +b2sums=('9df9024215ba6998d2a2d396ed7b5da905d43eb5506bd2de3ffd163d727f30c2ac4b7e5fd27d44ea1af0ce54c8ac0a4a06b19bafab1e62d1bd5e4a3cfcf41a9c') + +prepare() { + cd $pkgname-$pkgver + # Remove data_files section https://github.com/pypa/wheel/issues/92 + sed -i '/\[options.data_files\]/,/^$/d' setup.cfg +} + +build() { + cd $pkgname-$pkgver + python -m build --wheel --skip-dependency-check --no-isolation +} + +package() { + cd $pkgname-$pkgver + export PYTHONHASHSEED=0 + python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl + install -Dm644 -t "$pkgdir"/usr/share/man/man1 src/picker/docs/$pkgname.1 + + # https://github.com/FFY00/python-install/pull/6 + chmod +x "$pkgdir"/usr/bin/$pkgname + + # Symlink license file + local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s $site_packages/$pkgname-$pkgver.dist-info/LICENSE \ +"$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim:set ts=2 sw=2 et: Deleted: rofimoji.install === --- rofimoji.install2021-06-20 02:07:04 UTC (rev 965733) +++ rofimoji.install2021-06-20 02:07:35 UTC (rev 965734) @@ -1,6 +0,0 @@ -post_install() { - cat << EOF -rofimoji requires an appropr
[arch-commits] Commit in rofimoji/trunk (PKGBUILD)
Date: Sunday, June 20, 2021 @ 02:07:04 Author: polyzen Revision: 965733 upgpkg: rofimoji 5.2.0-2: Cleanup Modified: rofimoji/trunk/PKGBUILD --+ PKGBUILD | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-06-20 01:18:28 UTC (rev 965732) +++ PKGBUILD2021-06-20 02:07:04 UTC (rev 965733) @@ -2,7 +2,7 @@ pkgname=rofimoji pkgver=5.2.0 -pkgrel=1 +pkgrel=2 pkgdesc='Character picker for rofi' arch=('any') url=https://github.com/fdw/rofimoji @@ -22,6 +22,12 @@ source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz") b2sums=('9df9024215ba6998d2a2d396ed7b5da905d43eb5506bd2de3ffd163d727f30c2ac4b7e5fd27d44ea1af0ce54c8ac0a4a06b19bafab1e62d1bd5e4a3cfcf41a9c') +prepare() { + cd $pkgname-$pkgver + # Remove data_files section https://github.com/pypa/wheel/issues/92 + sed -i '/\[options.data_files\]/,/^$/d' setup.cfg +} + build() { cd $pkgname-$pkgver python -m build --wheel --skip-dependency-check --no-isolation @@ -31,18 +37,16 @@ cd $pkgname-$pkgver export PYTHONHASHSEED=0 python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl + install -Dm644 -t "$pkgdir"/usr/share/man/man1 src/picker/docs/$pkgname.1 - cd "$pkgdir" # https://github.com/FFY00/python-install/pull/6 - chmod +x usr/bin/$pkgname + chmod +x "$pkgdir"/usr/bin/$pkgname - # Symlink license file and move data files where they belong + # Symlink license file local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") - install -d usr/share/{licenses/$pkgname,man/man1} - ln -s $site_packages/${pkgname//-/_}-$pkgver.dist-info/LICENSE \ -usr/share/licenses/$pkgname/LICENSE - mv {./$site_packages,usr}/share/man/man1/$pkgname.1 - rm -r ./$site_packages/share + install -d "$pkgdir"/usr/share/licenses/$pkgname + ln -s $site_packages/$pkgname-$pkgver.dist-info/LICENSE \ +"$pkgdir"/usr/share/licenses/$pkgname/LICENSE } # vim:set ts=2 sw=2 et:
[arch-commits] Commit in keycloak/repos (8 files)
Date: Sunday, June 20, 2021 @ 01:18:28 Author: anthraxx Revision: 965732 archrelease: copy trunk to community-testing-any Added: keycloak/repos/community-testing-any/ keycloak/repos/community-testing-any/PKGBUILD (from rev 965731, keycloak/trunk/PKGBUILD) keycloak/repos/community-testing-any/keycloak.service (from rev 965731, keycloak/trunk/keycloak.service) keycloak/repos/community-testing-any/keycloak.sysusers (from rev 965731, keycloak/trunk/keycloak.sysusers) keycloak/repos/community-testing-any/keycloak.tmpfiles (from rev 965731, keycloak/trunk/keycloak.tmpfiles) keycloak/repos/community-testing-any/layers.conf (from rev 965731, keycloak/trunk/layers.conf) keycloak/repos/community-testing-any/pin-java-version.patch (from rev 965731, keycloak/trunk/pin-java-version.patch) keycloak/repos/community-testing-any/postgresql-module.xml (from rev 965731, keycloak/trunk/postgresql-module.xml) + PKGBUILD | 90 +++ keycloak.service | 27 ++ keycloak.sysusers |1 keycloak.tmpfiles |5 ++ layers.conf|1 pin-java-version.patch | 61 +++ postgresql-module.xml | 12 ++ 7 files changed, 197 insertions(+) Copied: keycloak/repos/community-testing-any/PKGBUILD (from rev 965731, keycloak/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2021-06-20 01:18:28 UTC (rev 965732) @@ -0,0 +1,90 @@ +# Maintainer: Sven-Hendrik Haase +# Contributor: Nikita Volodin + +pkgname=keycloak +pkgver=14.0.0 +_postgresql_jdbc=42.2.22 +_java=11 +pkgrel=3 +pkgdesc="Open Source Identity and Access Management For Modern Applications and Services" +arch=('any') +url="https://www.keycloak.org/"; +license=('Apache') +depends=("java-runtime=${_java}" 'grep' 'bash' 'coreutils' 'util-linux') +makedepends=('maven' 'git' "java-environment=${_java}") +backup=( + opt/keycloak/standalone/configuration/application-roles.properties + opt/keycloak/standalone/configuration/application-users.properties + opt/keycloak/standalone/configuration/logging.properties + opt/keycloak/standalone/configuration/mgmt-groups.properties + opt/keycloak/standalone/configuration/mgmt-users.properties + opt/keycloak/standalone/configuration/standalone-ha.xml + opt/keycloak/standalone/configuration/standalone.xml +) +options=(emptydirs) +source=(https://github.com/keycloak/keycloak/archive/$pkgver/$pkgname-$pkgver.tar.gz +keycloak.service +keycloak.sysusers +keycloak.tmpfiles +layers.conf +postgresql-module.xml +https://jdbc.postgresql.org/download/postgresql-${_postgresql_jdbc}.jar +pin-java-version.patch) +sha512sums=('3bb865c71c62105420bc8975018441b9bab93326a3a8d63f12f390c6dcc72d6f88bdf44c61de6137b72cf5bacdda191fb06f7b1e363a6698a055193726c701c9' + 'dd10a38e4c8867de6d1fcbb4939c6c5946684842462eba3d5355bf1de13fa059edfd5eba37adce587c824ddd618b6bb88d4bbe1ee568ca5abd0f72296da3ddfe' + 'c53b734598ccf675930754514bd2af628355025197e77541e5acb8718629a8ece763c814e8373278758a30475e6a716febeff10bdebf0847d914bc193e732c79' + '9382b42f09040e34fe1a27d9ff4fb87cabd41525ca26f8ea9629df0169cf93d95cc4bb62bcc5c2ca30efdfd7eeeb13a6f090df9a05823baf701ba729a47f6fd1' + 'd54a04c120edb933c4f7168460bd813ff92a4e3771cedcabfeeb76c5d3e057b3cd0d0486dc11ddbd91e8d87ca90193e4c74cc3414e45106dd556d455ac7e60b2' + '5eece4f3eb57372969f0e5319804198b546455828e938ff7f37bbcfb58be08efde43a5b0376c98f359c4bc5eb069e0cd9410daefe19da1c03e9e9c57d3c1b75b' + '1464b50c1777347ca9b5d495aff6dfff7e87c5a3b90d18518f5c8ec9b9cedbe05a501a79f54363fc2d609e6578a39be0b373f22b22bddece15179e9a8f06421b' + '55a9f861cf5be2bdc64a4b831fbd4d832fae5b88c8c7d620b6ee0622602cce600124e571fff9847b5eb492bf9d522a9ead4179a60d0f90f4f1f70b1d530bde66') + +prepare() { + cd $pkgname-$pkgver + # Pin the java version. Keycloak produces all those shell scripts deep down + # the rabbit hole so applying them during packaging is the best we can get. + # Create a local copy and dynamically adjust the patch. + cp ../pin-java-version.patch . + sed "s|java-11-openjdk|java-${_java}-openjdk|g" -i pin-java-version.patch + sed "s|14.0.0|${pkgver}|g" -i pin-java-version.patch +} + +build() { + cd $pkgname-$pkgver + + export PATH="/usr/lib/jvm/java-${_java}-openjdk/bin:$PATH" + mvn -Pdistribution \ +-pl distribution/server-dist \ +-am \ +-Dmaven.test.skip \ +clean install +} + +package() { + cd $pkgname-$pkgver + + mkdir -p "$pkgdir/opt" + cp -r "distribution/server-dist/target/keycloak-$pkgver" "$pkgdir/opt/keycloak" + install -Dm 644 "$srcdir"/layers.conf -t "$pkgdir/opt/keycloak/modules" + install -d "$pkgdir"/opt/keycloak/standalone/{d
[arch-commits] Commit in keycloak/trunk (PKGBUILD pin-java-version.patch)
Date: Sunday, June 20, 2021 @ 01:18:07 Author: anthraxx Revision: 965731 upgpkg: keycloak 14.0.0-3: pin java runtime for exeuction Dependency constraint won't solve the issue as the default java can still be any arbitrary java. In cases where we need to enforce a specific java we need to hand select a java target and patch the runtime execution to actually force use that specific version. As keycloak shell scripts are out of tree and somewhere deep down the rabbit hole lets use a patch file that we dyinamicall adjust and execute during packaging. Added: keycloak/trunk/pin-java-version.patch Modified: keycloak/trunk/PKGBUILD + PKGBUILD | 27 pin-java-version.patch | 61 +++ 2 files changed, 82 insertions(+), 6 deletions(-) Modified: PKGBUILD === --- PKGBUILD2021-06-19 23:45:25 UTC (rev 965730) +++ PKGBUILD2021-06-20 01:18:07 UTC (rev 965731) @@ -4,13 +4,14 @@ pkgname=keycloak pkgver=14.0.0 _postgresql_jdbc=42.2.22 -pkgrel=2 +_java=11 +pkgrel=3 pkgdesc="Open Source Identity and Access Management For Modern Applications and Services" arch=('any') url="https://www.keycloak.org/"; license=('Apache') -depends=('java-runtime>=8' 'java-runtime<=15' 'grep' 'bash' 'coreutils' 'util-linux') -makedepends=('maven' 'git' 'java-environment=8') +depends=("java-runtime=${_java}" 'grep' 'bash' 'coreutils' 'util-linux') +makedepends=('maven' 'git' "java-environment=${_java}") backup=( opt/keycloak/standalone/configuration/application-roles.properties opt/keycloak/standalone/configuration/application-users.properties @@ -27,7 +28,8 @@ keycloak.tmpfiles layers.conf postgresql-module.xml - https://jdbc.postgresql.org/download/postgresql-${_postgresql_jdbc}.jar) +https://jdbc.postgresql.org/download/postgresql-${_postgresql_jdbc}.jar +pin-java-version.patch) sha512sums=('3bb865c71c62105420bc8975018441b9bab93326a3a8d63f12f390c6dcc72d6f88bdf44c61de6137b72cf5bacdda191fb06f7b1e363a6698a055193726c701c9' 'dd10a38e4c8867de6d1fcbb4939c6c5946684842462eba3d5355bf1de13fa059edfd5eba37adce587c824ddd618b6bb88d4bbe1ee568ca5abd0f72296da3ddfe' 'c53b734598ccf675930754514bd2af628355025197e77541e5acb8718629a8ece763c814e8373278758a30475e6a716febeff10bdebf0847d914bc193e732c79' @@ -34,12 +36,23 @@ '9382b42f09040e34fe1a27d9ff4fb87cabd41525ca26f8ea9629df0169cf93d95cc4bb62bcc5c2ca30efdfd7eeeb13a6f090df9a05823baf701ba729a47f6fd1' 'd54a04c120edb933c4f7168460bd813ff92a4e3771cedcabfeeb76c5d3e057b3cd0d0486dc11ddbd91e8d87ca90193e4c74cc3414e45106dd556d455ac7e60b2' '5eece4f3eb57372969f0e5319804198b546455828e938ff7f37bbcfb58be08efde43a5b0376c98f359c4bc5eb069e0cd9410daefe19da1c03e9e9c57d3c1b75b' - '1464b50c1777347ca9b5d495aff6dfff7e87c5a3b90d18518f5c8ec9b9cedbe05a501a79f54363fc2d609e6578a39be0b373f22b22bddece15179e9a8f06421b') + '1464b50c1777347ca9b5d495aff6dfff7e87c5a3b90d18518f5c8ec9b9cedbe05a501a79f54363fc2d609e6578a39be0b373f22b22bddece15179e9a8f06421b' + '55a9f861cf5be2bdc64a4b831fbd4d832fae5b88c8c7d620b6ee0622602cce600124e571fff9847b5eb492bf9d522a9ead4179a60d0f90f4f1f70b1d530bde66') +prepare() { + cd $pkgname-$pkgver + # Pin the java version. Keycloak produces all those shell scripts deep down + # the rabbit hole so applying them during packaging is the best we can get. + # Create a local copy and dynamically adjust the patch. + cp ../pin-java-version.patch . + sed "s|java-11-openjdk|java-${_java}-openjdk|g" -i pin-java-version.patch + sed "s|14.0.0|${pkgver}|g" -i pin-java-version.patch +} + build() { cd $pkgname-$pkgver - export PATH="/usr/lib/jvm/java-8-openjdk/bin:$PATH" + export PATH="/usr/lib/jvm/java-${_java}-openjdk/bin:$PATH" mvn -Pdistribution \ -pl distribution/server-dist \ -am \ @@ -70,6 +83,8 @@ mkdir -p "$pkgdir"/usr/bin ln -s /opt/keycloak/bin/kcadm.sh "$pkgdir"/usr/bin/kcadm ln -s /opt/keycloak/bin/kcreg.sh "$pkgdir"/usr/bin/kcreg + + patch -Np1 -d "$pkgdir"/opt/keycloak/bin < pin-java-version.patch } # vim: ts=2 sw=2 et: Added: pin-java-version.patch === --- pin-java-version.patch (rev 0) +++ pin-java-version.patch 2021-06-20 01:18:07 UTC (rev 965731) @@ -0,0 +1,61 @@ +From dbaf85e82f8da8ef85ce73bb882da1763952b86d Mon Sep 17 00:00:00 2001 +From: anthraxx +Date: Sun, 20 Jun 2021 02:45:24 +0200 +Subject: [PATCH] pin java version + +--- + common.sh | 4 + kcadm.sh | 9 - + kcreg.sh | 4 +++- + 3 files changed, 11 insertions(+), 6 deletions(-) + +diff --git a/common.sh b/common.sh +index 48998b6..943d295 100755 +--- a/common.sh b/common.sh +@@ -30,3 +30,7 @@ setDefaultModularJvmOptions() { + fi + fi + } ++ ++# Pin ja
[arch-commits] Commit in haskell-tasty-kat/repos (2 files)
Date: Saturday, June 19, 2021 @ 23:45:25 Author: felixonmars Revision: 965730 archrelease: copy trunk to community-staging-x86_64 Added: haskell-tasty-kat/repos/community-staging-x86_64/ haskell-tasty-kat/repos/community-staging-x86_64/PKGBUILD (from rev 965729, haskell-tasty-kat/trunk/PKGBUILD) --+ PKGBUILD | 45 + 1 file changed, 45 insertions(+) Copied: haskell-tasty-kat/repos/community-staging-x86_64/PKGBUILD (from rev 965729, haskell-tasty-kat/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2021-06-19 23:45:25 UTC (rev 965730) @@ -0,0 +1,45 @@ +# Maintainer: Felix Yan + +_hkgname=tasty-kat +pkgname=haskell-tasty-kat +pkgver=0.0.3 +pkgrel=63 +pkgdesc="Known Answer Tests (KAT) framework for tasty" +url="https://github.com/vincenthz/tasty-kat"; +license=("MIT") +arch=('x86_64') +depends=('ghc-libs' 'haskell-tasty') +makedepends=('ghc' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha256sums=('a72501f0f77db372648566bbba1dd1d6d0d0c975b42238875d663313e9a5db93') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \ +--ghc-option='-pie' + + runhaskell Setup build $MAKEFLAGS + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test --show-details=direct +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh + install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ + rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE +}
[arch-commits] Commit in haskell-tasty-kat/trunk (PKGBUILD)
Date: Saturday, June 19, 2021 @ 23:45:12 Author: felixonmars Revision: 965729 upgpkg: haskell-tasty-kat 0.0.3-63: rebuild with ghc 9.0.1 Modified: haskell-tasty-kat/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2021-06-19 23:44:26 UTC (rev 965728) +++ PKGBUILD2021-06-19 23:45:12 UTC (rev 965729) @@ -3,7 +3,7 @@ _hkgname=tasty-kat pkgname=haskell-tasty-kat pkgver=0.0.3 -pkgrel=62 +pkgrel=63 pkgdesc="Known Answer Tests (KAT) framework for tasty" url="https://github.com/vincenthz/tasty-kat"; license=("MIT")