[arch-commits] Commit in (4 files)

2020-12-25 Thread Felix Yan via arch-commits
Date: Saturday, December 26, 2020 @ 01:44:12
  Author: felixonmars
Revision: 791499

addpkg: python-pytest-subtests 0.4.0-1

Added:
  python-pytest-subtests/
  python-pytest-subtests/repos/
  python-pytest-subtests/trunk/
  python-pytest-subtests/trunk/PKGBUILD

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Added: python-pytest-subtests/trunk/PKGBUILD
===
--- python-pytest-subtests/trunk/PKGBUILD   (rev 0)
+++ python-pytest-subtests/trunk/PKGBUILD   2020-12-26 01:44:12 UTC (rev 
791499)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-pytest-subtests
+pkgver=0.4.0
+pkgrel=1
+pkgdesc='unittest subTest() support and subtests fixture'
+arch=('any')
+license=('MIT')
+url='https://github.com/pytest-dev/pytest-subtests'
+depends=('python-pytest')
+makedepends=('python-setuptools_scm')
+source=("https://github.com/pytest-dev/pytest-subtests/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('00302f47d1699e053314b6b4eee7c84a04fe0f51f287e338374bbd518c7d245d839ea0f1ccf50d4f35c86138cf6ea36da26e67bf41295205fb38323f2ad89f89')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd pytest-subtests-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd pytest-subtests-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" 
pytest
+}
+
+package() {
+  cd pytest-subtests-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in (4 files)

2020-12-25 Thread Brett Cornwall via arch-commits
Date: Friday, December 25, 2020 @ 23:41:26
  Author: ainola
Revision: 791223

Import interception-caps2esc from AUR (14 votes)

Plugin used for interception-tools to provide xcape-like functionality on non-x 
environments.

Added:
  interception-caps2esc/
  interception-caps2esc/repos/
  interception-caps2esc/trunk/
  interception-caps2esc/trunk/PKGBUILD

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Added: interception-caps2esc/trunk/PKGBUILD
===
--- interception-caps2esc/trunk/PKGBUILD(rev 0)
+++ interception-caps2esc/trunk/PKGBUILD2020-12-25 23:41:26 UTC (rev 
791223)
@@ -0,0 +1,31 @@
+# Maintainer: Brett Cornwall 
+# Contributor: Francisco Lopes
+
+pkgname=interception-caps2esc
+pkgver=0.1.3
+pkgrel=3
+pkgdesc='Interception plugin that transforms the most useless key ever in the 
most useful one'
+arch=('x86_64')
+license=('MIT')
+url='https://gitlab.com/interception/linux/plugins/caps2esc'
+depends=('interception-tools')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::https://gitlab.com/interception/linux/plugins/caps2esc/-/archive/v$pkgver/caps2esc-v$pkgver.tar.gz";)
+sha256sums=('1aa8953a1cfa513830f19ec03644aa212ba0c5c6537594b209e1c8b4250f5820')
+
+build() {
+cmake -B build \
+  -S "caps2esc-v${pkgver}" \
+  -DCMAKE_INSTALL_PREFIX=/usr \
+  -DCMAKE_BUILD_TYPE=None \
+  -Wno-dev
+cmake --build build
+}
+
+package() {
+install -Dm644 "caps2esc-v${pkgver}/README.md" -t 
"$pkgdir/usr/share/doc/$pkgname"
+install -Dm644 "caps2esc-v${pkgver}/LICENSE.md" -t 
"$pkgdir/usr/share/licenses/$pkgname"
+
+cd build
+make DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in (4 files)

2020-12-24 Thread Felix Yan via arch-commits
Date: Thursday, December 24, 2020 @ 13:02:52
  Author: felixonmars
Revision: 787204

addpkg: python-pytest-socket 0.3.5-1

Added:
  python-pytest-socket/
  python-pytest-socket/repos/
  python-pytest-socket/trunk/
  python-pytest-socket/trunk/PKGBUILD

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Added: python-pytest-socket/trunk/PKGBUILD
===
--- python-pytest-socket/trunk/PKGBUILD (rev 0)
+++ python-pytest-socket/trunk/PKGBUILD 2020-12-24 13:02:52 UTC (rev 787204)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-pytest-socket
+pkgver=0.3.5
+pkgrel=1
+pkgdesc='Pytest Plugin to disable socket calls during tests'
+arch=('any')
+license=('MIT')
+url='https://github.com/miketheman/pytest-socket'
+depends=('python-pytest')
+makedepends=('python-dephell')
+checkdepends=('python-pytest-cov' 'python-pytest-flake8' 
'python-pytest-httpbin')
+source=("https://github.com/miketheman/pytest-socket/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('9f62c2cdc07721dc707fb84f736dbdeed8264a775d9b477802295409a2abfafad88ee5bf2bb94a305659e81f80b8d6a0486e589b0a0100ab4523ad6d4c12849a')
+
+prepare() {
+  cd pytest-socket-$pkgver
+  dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build() {
+  cd pytest-socket-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd pytest-socket-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages:$PYTHONPATH" 
pytest --deselect setup.py
+  }
+
+package() {
+  cd pytest-socket-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in (4 files)

2020-12-24 Thread Bruno Pagani via arch-commits
Date: Thursday, December 24, 2020 @ 12:59:53
  Author: archange
Revision: 787194

Initial addition of python-textdistance to [community]

Added:
  python-textdistance/
  python-textdistance/repos/
  python-textdistance/trunk/
  python-textdistance/trunk/PKGBUILD

--+
 PKGBUILD |   47 +++
 1 file changed, 47 insertions(+)

Added: python-textdistance/trunk/PKGBUILD
===
--- python-textdistance/trunk/PKGBUILD  (rev 0)
+++ python-textdistance/trunk/PKGBUILD  2020-12-24 12:59:53 UTC (rev 787194)
@@ -0,0 +1,47 @@
+# Maintainer: Bruno Pagani 
+
+_pkg=textdistance
+pkgname=python-${_pkg}
+pkgver=4.2.0
+pkgrel=1
+pkgdesc="Compute distance between sequences"
+arch=(any)
+url="https://github.com/life4/textdistance";
+license=(MIT)
+depends=(
+python-abydos
+python-jellyfish
+python-numpy
+python-levenshtein
+python-pyxdameraulevenshtein
+)
+makedepends=(python-setuptools)
+checkdepends=(
+python-pytest
+python-hypothesis
+python-isort
+python-pylev
+python-py_stringmatching
+python-tabulate
+)
+# PyPi tarballs do not have the tests
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(${url}/archive/v.${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('b2c9865b47a4c83e461337bcd9f038d8c202af18987d531be8a6ea5abc62b25e')
+
+build() {
+  cd ${_pkg}-v.${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-v.${pkgver}
+  # Failing tests, nowhere to report them…
+  pytest --deselect tests/test_external.py
+}
+
+package() {
+  cd ${_pkg}-v.${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build 
--optimize=1
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in (4 files)

2020-12-23 Thread Bruno Pagani via arch-commits
Date: Wednesday, December 23, 2020 @ 23:10:00
  Author: archange
Revision: 785669

Initial addition of py_stringmatching to [community]

Added:
  python-py_stringmatching/
  python-py_stringmatching/repos/
  python-py_stringmatching/trunk/
  python-py_stringmatching/trunk/PKGBUILD

--+
 PKGBUILD |   35 +++
 1 file changed, 35 insertions(+)

Added: python-py_stringmatching/trunk/PKGBUILD
===
--- python-py_stringmatching/trunk/PKGBUILD (rev 0)
+++ python-py_stringmatching/trunk/PKGBUILD 2020-12-23 23:10:00 UTC (rev 
785669)
@@ -0,0 +1,35 @@
+# Maintainer: Bruno Pagani 
+
+_pkg=py_stringmatching
+pkgname=python-${_pkg}
+pkgver=0.4.2
+pkgrel=1
+pkgdesc="Comprehensive and scalable set of string tokenizers and similarity 
measures"
+arch=(x86_64)
+url="https://sites.google.com/site/anhaidgroup/projects/magellan/py_stringmatching";
+license=(BSD)
+depends=(python-numpy python-six)
+makedepends=(python-setuptools cython)
+checkdepends=(python-nose)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+#source=(https://github.com/anhaidgroup/py_stringmatching/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('c87f62698fba1612a18f8f44bd57f0c4e70aac2d7ca6dfb6ed46dabd2194453c')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  sed -i 's|if not PIP_INSTALLED:|if False:|g' setup.py
+  python setup.py build
+}
+
+# `No module named 
'py_stringmatching.similarity_measure.cython.cython_affine'` even with 
PYTHONPATH
+#check() {
+#  cd ${_pkg}-${pkgver}
+#  local python_version=$(python -c 'import sys; print(".".join(map(str, 
sys.version_info[:2])))')
+#  PYTHONPATH="${PWD}"/build/lib.linux-${CARCH}-${python_version} nosetests
+#}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build 
--optimize=1
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in (4 files)

2020-12-23 Thread Bruno Pagani via arch-commits
Date: Wednesday, December 23, 2020 @ 19:17:56
  Author: archange
Revision: 785135

Initial addition of python-abydos to [community]

Added:
  python-abydos/
  python-abydos/repos/
  python-abydos/trunk/
  python-abydos/trunk/PKGBUILD

--+
 PKGBUILD |   37 +
 1 file changed, 37 insertions(+)

Added: python-abydos/trunk/PKGBUILD
===
--- python-abydos/trunk/PKGBUILD(rev 0)
+++ python-abydos/trunk/PKGBUILD2020-12-23 19:17:56 UTC (rev 785135)
@@ -0,0 +1,37 @@
+# Maintainer: Bruno Pagani 
+
+_pkg=abydos
+pkgname=python-${_pkg,,}
+pkgver=0.5.0
+pkgrel=1
+pkgdesc="NLP/IR library for Python"
+arch=(x86_64)
+url="https://github.com/chrislit/abydos";
+license=(GPL3)
+depends=(python-numpy)
+makedepends=(python-setuptools)
+checkdepends=(
+python-pytest
+python-deprecation
+python-nltk
+)
+# No tests in PyPi tarballs
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(${url}/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('0d46be1a40cfcdcd9ff9d052828c6ea57f5e1e2378373761c963c4a0cfcc5512')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  rm setup.cfg
+  pytest
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build 
--optimize=1
+}


[arch-commits] Commit in (4 files)

2020-12-23 Thread Bruno Pagani via arch-commits
Date: Wednesday, December 23, 2020 @ 18:08:43
  Author: archange
Revision: 785040

Initial addition of pyxDamerauLevenshtein to [community]

Added:
  python-pyxdameraulevenshtein/
  python-pyxdameraulevenshtein/repos/
  python-pyxdameraulevenshtein/trunk/
  python-pyxdameraulevenshtein/trunk/PKGBUILD

--+
 PKGBUILD |   34 ++
 1 file changed, 34 insertions(+)

Added: python-pyxdameraulevenshtein/trunk/PKGBUILD
===
--- python-pyxdameraulevenshtein/trunk/PKGBUILD (rev 0)
+++ python-pyxdameraulevenshtein/trunk/PKGBUILD 2020-12-23 18:08:43 UTC (rev 
785040)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani 
+
+_pkg=pyxDamerauLevenshtein
+pkgname=python-${_pkg,,}
+pkgver=1.6.1
+pkgrel=1
+pkgdesc="Implements the Damerau-Levenshtein (DL) edit distance algorithm"
+arch=(x86_64)
+url="https://github.com/gfairchild/pyxDamerauLevenshtein";
+license=(BSD)
+depends=(python-numpy)
+makedepends=(python-setuptools cython)
+checkdepends=(python-pytest)
+# No tests in PyPi tarballs
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(${url}/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('26f843b0af9e04e538c7a2eda51ce9bcbd3f5723a1e5c6ff842fca11f5a08b27')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  local python_version=$(python -c 'import sys; print(".".join(map(str, 
sys.version_info[:2])))')
+  PYTHONPATH="${PWD}"/build/lib.linux-${CARCH}-${python_version} pytest
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build 
--optimize=1
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in (4 files)

2020-12-22 Thread Bruno Pagani via arch-commits
Date: Tuesday, December 22, 2020 @ 23:06:02
  Author: archange
Revision: 783116

Initial addition of pyls-spyder to [community]

Added:
  python-pyls-spyder/
  python-pyls-spyder/repos/
  python-pyls-spyder/trunk/
  python-pyls-spyder/trunk/PKGBUILD

--+
 PKGBUILD |   34 ++
 1 file changed, 34 insertions(+)

Added: python-pyls-spyder/trunk/PKGBUILD
===
--- python-pyls-spyder/trunk/PKGBUILD   (rev 0)
+++ python-pyls-spyder/trunk/PKGBUILD   2020-12-22 23:06:02 UTC (rev 783116)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani 
+
+_pkg=pyls-spyder
+pkgname=python-${_pkg}
+pkgver=0.3.0
+pkgrel=1
+pkgdesc="Spyder extensions for the Python Language Server"
+arch=(any)
+url="https://github.com/spyder-ide/pyls-spyder";
+license=(MIT)
+depends=(python-language-server)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+# PyPi tarballs do not have the tests
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(${url}/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('fe64f0f601c6a2fca1add29fc27405547ebc9b47e8dadaf8a40bcdf56e993d52')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  pytest -v
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build 
--optimize=1
+  rm -r "${pkgdir}"$(python -c "import site; 
print(site.getsitepackages()[0])")/${_pkg//-/_}/tests
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in (4 files)

2020-12-22 Thread Bruno Pagani via arch-commits
Date: Tuesday, December 22, 2020 @ 22:48:23
  Author: archange
Revision: 783105

Initial addition of pyls-black to [community]

Added:
  python-pyls-black/
  python-pyls-black/repos/
  python-pyls-black/trunk/
  python-pyls-black/trunk/PKGBUILD

--+
 PKGBUILD |   33 +
 1 file changed, 33 insertions(+)

Added: python-pyls-black/trunk/PKGBUILD
===
--- python-pyls-black/trunk/PKGBUILD(rev 0)
+++ python-pyls-black/trunk/PKGBUILD2020-12-22 22:48:23 UTC (rev 783105)
@@ -0,0 +1,33 @@
+# Maintainer: Bruno Pagani 
+
+_pkg=pyls-black
+pkgname=python-${_pkg}
+pkgver=0.4.6
+pkgrel=1
+pkgdesc="Black plugin for the Python Language Server"
+arch=(any)
+url="https://github.com/rupert/pyls-black";
+license=(MIT)
+depends=(python-black python-language-server python-toml)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+# PyPi tarballs do not have the tests
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(${url}/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('c591f57b28852e095dafb87cdd3d16fc3dfe188ec199b728f34569d472d63150')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  PYTHONPATH="${PWD}/build/lib" pytest -v --deselect 
tests/test_plugin.py::test_entry_point
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build 
--optimize=1
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in (4 files)

2020-12-22 Thread Bruno Pagani via arch-commits
Date: Tuesday, December 22, 2020 @ 22:16:21
  Author: archange
Revision: 783073

Initial addition of python-three-merge to [community]

Required by spyder.

Added:
  python-three-merge/
  python-three-merge/repos/
  python-three-merge/trunk/
  python-three-merge/trunk/PKGBUILD

--+
 PKGBUILD |   34 ++
 1 file changed, 34 insertions(+)

Added: python-three-merge/trunk/PKGBUILD
===
--- python-three-merge/trunk/PKGBUILD   (rev 0)
+++ python-three-merge/trunk/PKGBUILD   2020-12-22 22:16:21 UTC (rev 783073)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani 
+
+_pkg=three-merge
+pkgname=python-${_pkg}
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Simple Python library to perform a 3-way merge between strings"
+arch=(any)
+url="https://github.com/spyder-ide/three-merge/";
+license=(MIT)
+depends=(python-diff-match-patch)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+# PyPi tarballs do not have the tests
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(https://github.com/spyder-ide/three-merge/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('b6ab2231fd349cdf03be5be04f28c1d59d5a475f7396dcf8fd8b0597981d113e')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  pytest -x -v three_merge/tests
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build 
--optimize=1
+  rm -r "${pkgdir}"$(python -c "import site; 
print(site.getsitepackages()[0])")/${_pkg//-/_}/tests
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in (4 files)

2020-12-21 Thread Florian Pritz via arch-commits
Date: Monday, December 21, 2020 @ 11:15:18
  Author: bluewind
Revision: 780949

Add perl-carp-assert

Added:
  perl-carp-assert/
  perl-carp-assert/repos/
  perl-carp-assert/trunk/
  perl-carp-assert/trunk/PKGBUILD

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Added: perl-carp-assert/trunk/PKGBUILD
===
--- perl-carp-assert/trunk/PKGBUILD (rev 0)
+++ perl-carp-assert/trunk/PKGBUILD 2020-12-21 11:15:18 UTC (rev 780949)
@@ -0,0 +1,44 @@
+# Maintainer: Florian Pritz 
+
+pkgname=perl-carp-assert
+pkgver=0.21
+pkgrel=3
+pkgdesc='executable comments'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl>=5.6')
+url=https://metacpan.org/release/Carp-Assert
+source=("https://cpan.metacpan.org/authors/id/N/NE/NEILB/Carp-Assert-$pkgver.tar.gz";)
+md5sums=(72e75c152cc354420719fc9728deec71)
+sha512sums=(9fb96ebaf03a86edcd0262b5216b345839dc99e504738e52f883932e425cac33470fcb0e8e4653488c0d8e63e9904af311056213c63ae40bc3935eec4c0410a0)
+_ddir="Carp-Assert-$pkgver"
+
+build()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
+)
+
+check()
+(
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+)
+
+package()
+(
+  cd "$srcdir/$_ddir"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+)
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in (4 files)

2020-12-20 Thread Felix Yan via arch-commits
Date: Sunday, December 20, 2020 @ 10:59:17
  Author: felixonmars
Revision: 780283

addpkg: haskell-fuzzy 0.1.0.0-1

Added:
  haskell-fuzzy/
  haskell-fuzzy/repos/
  haskell-fuzzy/trunk/
  haskell-fuzzy/trunk/PKGBUILD

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Added: haskell-fuzzy/trunk/PKGBUILD
===
--- haskell-fuzzy/trunk/PKGBUILD(rev 0)
+++ haskell-fuzzy/trunk/PKGBUILD2020-12-20 10:59:17 UTC (rev 780283)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fuzzy
+pkgname=haskell-fuzzy
+pkgver=0.1.0.0
+pkgrel=1
+pkgdesc="Filters a list based on a fuzzy string search."
+url="http://github.com/joom/fuzzy";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-monoid-subclasses')
+makedepends=('ghc' 'haskell-hunit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('820a7a2b52163c1ecf0924780604ec903979560901cc1b9f27a68ff17256e9cb')
+
+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
+  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
+}
+
+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 (4 files)

2020-12-20 Thread Felix Yan via arch-commits
Date: Sunday, December 20, 2020 @ 10:58:02
  Author: felixonmars
Revision: 780279

addpkg: haskell-heapsize 0.3.0.1-1

Added:
  haskell-heapsize/
  haskell-heapsize/repos/
  haskell-heapsize/trunk/
  haskell-heapsize/trunk/PKGBUILD

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Added: haskell-heapsize/trunk/PKGBUILD
===
--- haskell-heapsize/trunk/PKGBUILD (rev 0)
+++ haskell-heapsize/trunk/PKGBUILD 2020-12-20 10:58:02 UTC (rev 780279)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+_hkgname=heapsize
+pkgname=haskell-heapsize
+pkgver=0.3.0.1
+pkgrel=1
+pkgdesc="Determine the size of runtime data structures"
+url="https://github.com/pepeiborra/heapsize.git";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-hashtables' 'haskell-primitive'
+ 'haskell-unordered-containers')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('1e68f7c7a67e2565308e19505c61a378118ec5b24a9ebfbe669766dbd867686c')
+
+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
+  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 (4 files)

2020-12-20 Thread Felix Yan via arch-commits
Date: Sunday, December 20, 2020 @ 10:56:16
  Author: felixonmars
Revision: 780275

addpkg: haskell-opentelemetry 0.6.1-1

Added:
  haskell-opentelemetry/
  haskell-opentelemetry/repos/
  haskell-opentelemetry/trunk/
  haskell-opentelemetry/trunk/PKGBUILD

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Added: haskell-opentelemetry/trunk/PKGBUILD
===
--- haskell-opentelemetry/trunk/PKGBUILD(rev 0)
+++ haskell-opentelemetry/trunk/PKGBUILD2020-12-20 10:56:16 UTC (rev 
780275)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan 
+
+_hkgname=opentelemetry
+pkgname=haskell-opentelemetry
+pkgver=0.6.1
+pkgrel=1
+pkgdesc="The OpenTelemetry Haskell Client"
+url="https://github.com/ethercrow/opentelemetry-haskell";
+license=("Apache")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-ghc-trace-events' 'haskell-hashable')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('d38d85189edf01e3b4bd2c9b25456e4c65c190e0b824a91ea1f101f262640845')
+
+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
+  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"
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE
+}


[arch-commits] Commit in (4 files)

2020-12-20 Thread Felix Yan via arch-commits
Date: Sunday, December 20, 2020 @ 10:52:35
  Author: felixonmars
Revision: 780263

addpkg: haskell-ghc-trace-events 0.1.2.1-1

Added:
  haskell-ghc-trace-events/
  haskell-ghc-trace-events/repos/
  haskell-ghc-trace-events/trunk/
  haskell-ghc-trace-events/trunk/PKGBUILD

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Added: haskell-ghc-trace-events/trunk/PKGBUILD
===
--- haskell-ghc-trace-events/trunk/PKGBUILD (rev 0)
+++ haskell-ghc-trace-events/trunk/PKGBUILD 2020-12-20 10:52:35 UTC (rev 
780263)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=ghc-trace-events
+pkgname=haskell-ghc-trace-events
+pkgver=0.1.2.1
+pkgrel=1
+pkgdesc="Faster traceEvent and traceMarker, and binary object logging for 
eventlog"
+url="https://github.com/maoe/ghc-trace-events";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('04e96bf39a867aacc2405eca05668f641dc74bba6bca3591f2e9a329b5df5d47')
+
+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
+  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 (4 files)

2020-12-19 Thread Sven-Hendrik Haase via arch-commits
Date: Sunday, December 20, 2020 @ 05:18:29
  Author: svenstaro
Revision: 780146

Move python-proxmoxer from AUR for ansible

Added:
  python-proxmoxer/
  python-proxmoxer/repos/
  python-proxmoxer/trunk/
  python-proxmoxer/trunk/PKGBUILD

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Added: python-proxmoxer/trunk/PKGBUILD
===
--- python-proxmoxer/trunk/PKGBUILD (rev 0)
+++ python-proxmoxer/trunk/PKGBUILD 2020-12-20 05:18:29 UTC (rev 780146)
@@ -0,0 +1,31 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Bao Trinh 
+# Contributor: Bastien Traverse 
+
+pkgname=python-proxmoxer
+_name=${pkgname#python-}
+pkgver=1.1.1
+pkgrel=2
+pkgdesc="Python Wrapper for the Proxmox 2.x API (HTTP and SSH)"
+arch=('any')
+url="https://github.com/proxmoxer/proxmoxer";
+license=('MIT')
+depends=('python')
+optdepends=('python-requests: for https backend'
+   'python-paramiko: for ssh_paramiko backend')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+sha256sums=('684a69190129da0f102703fc9861f5eea82a7d804f9f96d35c7fd73452f1da7e')
+
+build() {
+  cd "${srcdir}/${_name}-${pkgver}"
+  # remove tests because they interfere with other system packages
+  sed -i "s/, 'tests', 'tests.base'//" setup.py
+  python setup.py build
+}
+
+package() {
+  cd "${srcdir}/${_name}-${pkgver}"
+  python setup.py install --root="${pkgdir}"/ --optimize=1 --skip-build
+  install -Dm 644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


[arch-commits] Commit in (4 files)

2020-12-19 Thread Chih-Hsuan Yen via arch-commits
Date: Saturday, December 19, 2020 @ 14:39:57
  Author: yan12125
Revision: 779976

web-ext: moved from AUR with 12 votes

The AUR package was maintained by myself and was called web-ext. Using the name 
to conform to the new Node.js packaging guidelines [1].

Also restoring Chromium tests - seems the issue has been fixed since version 
4.0 [2].

[1] 
https://wiki.archlinux.org/index.php?title=Node.js_package_guidelines&type=revision&diff=599637&oldid=582142
[2] https://github.com/mozilla/web-ext/issues/1779

Added:
  web-ext/
  web-ext/trunk/
  web-ext/trunk/PKGBUILD
  web-ext/trunk/skip-if-non-git-repo.diff

---+
 PKGBUILD  |   63 
 skip-if-non-git-repo.diff |   21 ++
 2 files changed, 84 insertions(+)

Added: web-ext/trunk/PKGBUILD
===
--- web-ext/trunk/PKGBUILD  (rev 0)
+++ web-ext/trunk/PKGBUILD  2020-12-19 14:39:57 UTC (rev 779976)
@@ -0,0 +1,63 @@
+# Maintainer: Chih-Hsuan Yen 
+
+pkgname=web-ext
+pkgver=5.4.1
+pkgrel=1
+pkgdesc='A command line tool to help build, run, and test web extensions'
+arch=(any)
+url='https://developer.mozilla.org/en-US/Add-ons/WebExtensions'
+license=('MPL2')
+depends=('nodejs')
+makedepends=('npm' 'node-gyp')
+replaces=('nodejs-web-ext')
+provides=('nodejs-web-ext')
+conflicts=('nodejs-web-ext')
+# to speed up the build
+options=('!strip')
+# tarball on npmjs lacks scripts for building from sources
+source=("https://github.com/mozilla/web-ext/archive/$pkgver/web-ext-$pkgver.tar.gz";
+"skip-if-non-git-repo.diff")
+sha256sums=('c2591f601c1b385d1360d9d3867fbe45a0db12973b4019b066b0fa13e3207687'
+'f485e30d304023a8a503095b6d0ba1f0f9f70d476e2ce58c5a7713caaa78ab49')
+
+prepare() {
+  cd "$srcdir"
+
+  pushd $pkgname-$pkgver
+  patch -Np1 -i ../skip-if-non-git-repo.diff
+  popd
+
+  # -build for running webpack and tests, and the original for actual packaging
+  cp -r $pkgname-$pkgver{,-build}
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver-build"
+
+  npm install
+  NODE_ENV=production npm run build
+  cp -r dist "$srcdir/$pkgname-$pkgver"
+
+  cd "$srcdir/$pkgname-$pkgver"
+  npm install --production
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver-build"
+
+  npm test
+}
+
+package() {
+  local _npmdir="$pkgdir/usr/lib/node_modules/"
+
+  install -Ddm755 "$_npmdir"
+  cp -r --no-preserve=ownership $pkgname-$pkgver "$_npmdir/$pkgname"
+
+  # Non-deterministic race in npm gives 777 permissions to random directories.
+  # See https://github.com/npm/cli/issues/1103 for details.
+  find "${pkgdir}/usr" -type d -exec chmod 755 {} +
+
+  install -Ddm755 "$pkgdir/usr/bin"
+  ln -s "/usr/lib/node_modules/$pkgname/bin/$pkgname" 
"$pkgdir/usr/bin/$pkgname"
+}

Added: web-ext/trunk/skip-if-non-git-repo.diff
===
--- web-ext/trunk/skip-if-non-git-repo.diff (rev 0)
+++ web-ext/trunk/skip-if-non-git-repo.diff 2020-12-19 14:39:57 UTC (rev 
779976)
@@ -0,0 +1,21 @@
+diff --git a/tests/unit/test.program.js b/tests/unit/test.program.js
+index d18beff..cea3d4d 100644
+--- a/tests/unit/test.program.js
 b/tests/unit/test.program.js
+@@ -885,7 +885,15 @@ describe('program.defaultVersionGetter', () => {
+   });
+ 
+   it('returns git commit information in development', function() {
+-const commit = `${git.branch()}-${git.long()}`;
++var commit;
++try {
++  commit = `${git.branch()}-${git.long()}`;
++} catch (error) {
++  if (error.message.includes('no git repository found')) {
++this.skip();
++  }
++  throw error;
++}
+ const testBuildEnv = {globalEnv: 'development'};
+ assert.equal(defaultVersionGetter(projectRoot, testBuildEnv),
+  commit);


[arch-commits] Commit in (4 files)

2020-12-19 Thread Felix Yan via arch-commits
Date: Saturday, December 19, 2020 @ 09:13:55
  Author: felixonmars
Revision: 779784

addpkg: haskell-apply-refact 0.8.2.1-1

Added:
  haskell-apply-refact/
  haskell-apply-refact/repos/
  haskell-apply-refact/trunk/
  haskell-apply-refact/trunk/PKGBUILD

--+
 PKGBUILD |   47 +++
 1 file changed, 47 insertions(+)

Added: haskell-apply-refact/trunk/PKGBUILD
===
--- haskell-apply-refact/trunk/PKGBUILD (rev 0)
+++ haskell-apply-refact/trunk/PKGBUILD 2020-12-19 09:13:55 UTC (rev 779784)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=apply-refact
+pkgname=haskell-apply-refact
+pkgver=0.8.2.1
+pkgrel=1
+pkgdesc="Perform refactorings specified by the refact library."
+url="https://github.com/mpickering/apply-refact";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-extra' 'haskell-filemanip' 
'haskell-ghc-exactprint'
+ 'haskell-optparse-applicative' 'haskell-refact' 'haskell-syb' 
'haskell-unix-compat')
+makedepends=('ghc' 'haskell-silently' 'haskell-tasty' 
'haskell-tasty-expected-failure'
+ 'haskell-tasty-golden')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('776f0133ee26075b0872b5344e530a65b66d2b1170286cd95114ae33b6e6b689')
+
+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
+  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
+}
+
+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 (4 files)

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 22:25:11
  Author: felixonmars
Revision: 779705

addpkg: deepin-store 1.1.0-1

Added:
  deepin-store/
  deepin-store/repos/
  deepin-store/trunk/
  deepin-store/trunk/PKGBUILD

--+
 PKGBUILD |   24 
 1 file changed, 24 insertions(+)

Added: deepin-store/trunk/PKGBUILD
===
--- deepin-store/trunk/PKGBUILD (rev 0)
+++ deepin-store/trunk/PKGBUILD 2020-12-18 22:25:11 UTC (rev 779705)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan 
+
+pkgname=deepin-store
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='Third party app store for DDE built with DTK'
+arch=('x86_64')
+url="https://github.com/dekzi/dde-store";
+license=('GPL3')
+depends=('appstream-qt' 'archlinux-appstream-data' 'dtkwidget' 
'packagekit-qt5')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+source=("https://github.com/dekzi/dde-store/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('a1448829bd4feeb67a793d8af353c10d8c90bec8af27aa59271de985aad0ebee87b4e79534701efa3325154a8d358b3e8a45912707e3b932f22f47e5d39bb43c')
+
+build() {
+  cd dde-store-$pkgver
+  cmake -GNinja .
+  ninja
+}
+
+package() {
+  cd dde-store-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}


[arch-commits] Commit in (4 files)

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 17:25:40
  Author: felixonmars
Revision: 779397

addpkg: haskell-indexed-traversable 0.1-1

Added:
  haskell-indexed-traversable/
  haskell-indexed-traversable/repos/
  haskell-indexed-traversable/trunk/
  haskell-indexed-traversable/trunk/PKGBUILD

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Added: haskell-indexed-traversable/trunk/PKGBUILD
===
--- haskell-indexed-traversable/trunk/PKGBUILD  (rev 0)
+++ haskell-indexed-traversable/trunk/PKGBUILD  2020-12-18 17:25:40 UTC (rev 
779397)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=indexed-traversable
+pkgname=haskell-indexed-traversable
+pkgver=0.1
+pkgrel=1
+pkgdesc="FunctorWithIndex, FoldableWithIndex, TraversableWithIndex"
+url="https://github.com/haskellari/indexed-traversable";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('9f42db2fef1f617396f267830211d42737e952de6228858aac3fe361bf88c0de')
+
+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
+  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 (4 files)

2020-12-18 Thread Felix Yan via arch-commits
Date: Friday, December 18, 2020 @ 13:13:14
  Author: felixonmars
Revision: 404476

revert to last version that supports python2 (FS#67820)

Added:
  python2-pycurl/
  python2-pycurl/repos/
  python2-pycurl/trunk/
  python2-pycurl/trunk/PKGBUILD

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Added: python2-pycurl/trunk/PKGBUILD
===
--- python2-pycurl/trunk/PKGBUILD   (rev 0)
+++ python2-pycurl/trunk/PKGBUILD   2020-12-18 13:13:14 UTC (rev 404476)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+# Contributor: Sergej Pupykin 
+# Contributor: Angel 'angvp' Velasquez 
+
+pkgname=python2-pycurl
+pkgver=7.43.0.3
+pkgrel=1
+epoch=1
+pkgdesc="A Python 2.x interface to libcurl"
+arch=('x86_64')
+url="http://pycurl.sourceforge.net/";
+license=('LGPL' 'MIT')
+depends=('python2' 'curl')
+checkdepends=('python2-bottle' 'python2-nose-show-skipped' 'vsftpd' 
'python2-flaky' 'python2-pyflakes')
+source=("https://github.com/pycurl/pycurl/archive/REL_${pkgver//./_}/$pkgname-$pkgver.tar.gz";)
+sha512sums=('1c210be7dde473a524fbc3084066b0aaa13c0a50cc2ab03bceb49030897058ae09bb4b8b5961823184469dc0901a5aae0f67992f408f37bb9bcb0c34ea014aec')
+
+prepare() {
+  mv pycurl-REL_${pkgver//./_} pycurl-$pkgver
+  cd pycurl-$pkgver
+  find . -name '*.py' -exec sed -i -e "s|#! /usr/bin/env python|#!/usr/bin/env 
python2|" {} +
+  sed -i 's/"share", "doc", PACKAGE/"share", "doc", "python2-pycurl"/' setup.py
+  sed -e "s/nosetests/nosetests2/" -e "s/python/python2/" -i tests/run.sh
+  sed -e "s/pyflakes/pyflakes-python2/" -i Makefile
+}
+
+build() {
+  cd pycurl-$pkgver
+  make PYTHON=python2
+  python2 setup.py build
+}
+
+check() {
+  export PYCURL_VSFTPD_PATH=vsftpd
+  # We don't have HTTP2 enabled
+
+  cd pycurl-$pkgver
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" make PYTHON=python2 
NOSETESTS=nosetests2 test || warning "Tests failed"
+}
+
+package() {
+  cd pycurl-$pkgver
+  python2 setup.py install -O1 --root="$pkgdir"
+  install -D -m644 COPYING-MIT -t "$pkgdir"/usr/share/licenses/$pkgname/
+}


[arch-commits] Commit in (4 files)

2020-12-17 Thread Levente Polyak via arch-commits
Date: Thursday, December 17, 2020 @ 22:24:11
  Author: anthraxx
Revision: 778197

addpkg: sequoia-keyring-linter 0.4.0

Added:
  sequoia-keyring-linter/
  sequoia-keyring-linter/repos/
  sequoia-keyring-linter/trunk/
  sequoia-keyring-linter/trunk/PKGBUILD

--+
 PKGBUILD |   39 +++
 1 file changed, 39 insertions(+)

Added: sequoia-keyring-linter/trunk/PKGBUILD
===
--- sequoia-keyring-linter/trunk/PKGBUILD   (rev 0)
+++ sequoia-keyring-linter/trunk/PKGBUILD   2020-12-17 22:24:11 UTC (rev 
778197)
@@ -0,0 +1,39 @@
+# Maintainer: Levente Polyak 
+
+pkgname=sequoia-keyring-linter
+pkgver=0.4.0
+pkgrel=1
+pkgdesc='OpenPGP certificate linter'
+url='https://sequoia-pgp.org/'
+arch=('x86_64')
+license=('GPL2')
+depends=('glibc' 'nettle' 'libhogweed.so' 'libnettle.so' 'gcc-libs' 'gmp')
+makedepends=('git' 'cargo' 'llvm' 'clang')
+source=(https://gitlab.com/sequoia-pgp/keyring-linter/-/archive/v${pkgver}/keyring-linter-v${pkgver}.tar.gz)
+sha512sums=('eac6481fe583603db406accee1f0dbcd5941b240f0e70c3da25f50958caa83dd45a7b2457376982f434c892797b5643f0891db278a8edb31d96812e3860cd9e2')
+b2sums=('ea075425449966c2855670e2dd93aced8138d50598c62b9c14cd7d2e2c9b4d3d03c41fb56bba7f74a89491fc2859f69e8f01a1e9e35181603e8e7671cb5f5cc9')
+
+prepare() {
+  cd keyring-linter-v${pkgver}
+  sed 's/debug/release/g' -i -- Makefile
+}
+
+build() {
+  cd keyring-linter-v${pkgver}
+  cargo build --release
+  make
+}
+
+check() {
+  cd keyring-linter-v${pkgver}
+  cargo test --release
+}
+
+package() {
+  cd keyring-linter-v${pkgver}
+  install -Dm 755 target/release/sq-keyring-linter -t "${pkgdir}/usr/bin"
+  install -Dm 644 sq-keyring-linter.1 -t "${pkgdir}/usr/share/man/man1"
+  install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in (4 files)

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 19:38:47
  Author: felixonmars
Revision: 777902

addpkg: python-pycapnp 1.0.0-1

Added:
  python-pycapnp/
  python-pycapnp/repos/
  python-pycapnp/trunk/
  python-pycapnp/trunk/PKGBUILD

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Added: python-pycapnp/trunk/PKGBUILD
===
--- python-pycapnp/trunk/PKGBUILD   (rev 0)
+++ python-pycapnp/trunk/PKGBUILD   2020-12-17 19:38:47 UTC (rev 777902)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-pycapnp
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="A cython wrapping of the C++ Cap'n Proto library"
+url="https://github.com/capnproto/pycapnp";
+license=('BSD')
+arch=('x86_64')
+depends=('capnproto' 'python')
+makedepends=('cython' 'python-pkgconfig' 'python-setuptools')
+checkdepends=('python-pytest')
+source=("https://github.com/capnproto/pycapnp/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('19b1502cddb4a4a33bffaba36c83808537a66d6e8b4e59a1f9c387aa4833e98c559d414387929e30dab9ba65c9436a1ad4df175e3993947a969e25504bac6c61')
+
+build() {
+  cd pycapnp-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pycapnp-$pkgver
+  PYTHONPATH="build/lib.linux-$CARCH-3.9" pytest
+}
+
+package() {
+  cd pycapnp-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+}


[arch-commits] Commit in (4 files)

2020-12-17 Thread Felix Yan via arch-commits
Date: Thursday, December 17, 2020 @ 13:23:14
  Author: felixonmars
Revision: 777387

addpkg: unicode-cldr 38.0-1

Added:
  unicode-cldr/
  unicode-cldr/repos/
  unicode-cldr/trunk/
  unicode-cldr/trunk/PKGBUILD

--+
 PKGBUILD |   21 +
 1 file changed, 21 insertions(+)

Added: unicode-cldr/trunk/PKGBUILD
===
--- unicode-cldr/trunk/PKGBUILD (rev 0)
+++ unicode-cldr/trunk/PKGBUILD 2020-12-17 13:23:14 UTC (rev 777387)
@@ -0,0 +1,21 @@
+# Maintainer: Felix Yan 
+
+pkgname=unicode-cldr
+pkgver=38.0
+pkgrel=1
+pkgdesc="Emoji annotation files in CLDR"
+arch=('any')
+url="https://github.com/fujiwarat/unicode-cldr";
+license=('custom')
+provides=('cldr-emoji-annotation')
+conflicts=('cldr-emoji-annotation')
+replaces=('cldr-emoji-annotation')
+source=("https://unicode.org/Public/cldr/${pkgver%.*}/cldr-common-$pkgver.zip";)
+sha512sums=('76a2cdfbe74bd25825dd0a91f81d3651d6baab374b7cffd2346d9194b30d2bf16940e448ede5b1c5f470ad2ff7df082a957ec6eade336b9baaafd40870648b1e')
+
+package() {
+  install -dm755 "$pkgdir"/usr/share/unicode/cldr
+  cp -r common "$pkgdir"/usr/share/unicode/cldr/
+
+  install -Dm644 unicode-license.txt 
"$pkgdir"/usr/share/licenses/$pkgname/unicode-license.txt
+}


[arch-commits] Commit in (4 files)

2020-12-15 Thread Felix Yan via arch-commits
Date: Tuesday, December 15, 2020 @ 20:38:32
  Author: felixonmars
Revision: 776186

addpkg: python-behave 1.2.7.dev1-1

Added:
  python-behave/
  python-behave/repos/
  python-behave/trunk/
  python-behave/trunk/PKGBUILD

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Added: python-behave/trunk/PKGBUILD
===
--- python-behave/trunk/PKGBUILD(rev 0)
+++ python-behave/trunk/PKGBUILD2020-12-15 20:38:32 UTC (rev 776186)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-behave
+pkgver=1.2.7.dev1
+pkgrel=1
+pkgdesc="Behaviour-driven development, Python style"
+url="https://github.com/behave/behave";
+license=('BSD')
+arch=('any')
+depends=('python-cucumber-tag-expressions' 'python-parse' 'python-parse-type' 
'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-path' 'python-pyhamcrest' 'python-pytest' 
'python-pytest-html')
+source=("https://github.com/behave/behave/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('a352a2f1594831b3c85a54225e5bd4f425ab06c38e708b6ec65f1c8fb2eb3a92924baa15d5742c344e58ac95773f00393aa1338bd839dd8345f701eb37ce62b6')
+
+build() {
+  cd behave-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd behave-$pkgver
+  pytest
+}
+
+package() {
+  cd behave-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}


[arch-commits] Commit in (4 files)

2020-12-15 Thread Felix Yan via arch-commits
Date: Tuesday, December 15, 2020 @ 20:36:49
  Author: felixonmars
Revision: 776182

addpkg: python-cucumber-tag-expressions 3.0.0-1

Added:
  python-cucumber-tag-expressions/
  python-cucumber-tag-expressions/repos/
  python-cucumber-tag-expressions/trunk/
  python-cucumber-tag-expressions/trunk/PKGBUILD

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Added: python-cucumber-tag-expressions/trunk/PKGBUILD
===
--- python-cucumber-tag-expressions/trunk/PKGBUILD  
(rev 0)
+++ python-cucumber-tag-expressions/trunk/PKGBUILD  2020-12-15 20:36:49 UTC 
(rev 776182)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-cucumber-tag-expressions
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="Provides tag-expression parser for cucumber/behave"
+url="https://github.com/cucumber/tag-expressions-python";
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-html')
+source=("https://github.com/cucumber/tag-expressions-python/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('a24ed1b1ae6900a87a3e1660d321d92967b599b34cad9634cd5831ca3327187c9a28cfdc6be4547db436c244af8a39c89ef68739774148451b55f9837a2e8c52')
+
+build() {
+  cd tag-expressions-python-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd tag-expressions-python-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd tag-expressions-python-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}


[arch-commits] Commit in (4 files)

2020-12-15 Thread Felix Yan via arch-commits
Date: Tuesday, December 15, 2020 @ 20:20:08
  Author: felixonmars
Revision: 776168

addpkg: python-parse-type 0.5.6-1

Added:
  python-parse-type/
  python-parse-type/repos/
  python-parse-type/trunk/
  python-parse-type/trunk/PKGBUILD

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Added: python-parse-type/trunk/PKGBUILD
===
--- python-parse-type/trunk/PKGBUILD(rev 0)
+++ python-parse-type/trunk/PKGBUILD2020-12-15 20:20:08 UTC (rev 776168)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-parse-type
+pkgver=0.5.6
+pkgrel=1
+pkgdesc="Simplifies to build parse types based on the parse module"
+url="https://github.com/jenisys/parse_type";
+license=('BSD')
+arch=('any')
+depends=('python-parse' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-html')
+source=("https://github.com/jenisys/parse_type/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('6729af4383baceea48cf0bbd73e7e3f580cfbb867965814ba354ea5de6794583782c929557f6f1c7f8bd45703a69b2f890455cfd749690f851f1853562da0c40')
+
+build() {
+  cd parse_type-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd parse_type-$pkgver
+  pytest
+}
+
+package() {
+  cd parse_type-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}


[arch-commits] Commit in (4 files)

2020-12-14 Thread Kyle Keen via arch-commits
Date: Tuesday, December 15, 2020 @ 05:55:29
  Author: kkeen
Revision: 775842

pkginit: python2-traitlets 4.3.3-6

Added:
  python2-traitlets/
  python2-traitlets/repos/
  python2-traitlets/trunk/
  python2-traitlets/trunk/PKGBUILD

--+
 PKGBUILD |   35 +++
 1 file changed, 35 insertions(+)

Added: python2-traitlets/trunk/PKGBUILD
===
--- python2-traitlets/trunk/PKGBUILD(rev 0)
+++ python2-traitlets/trunk/PKGBUILD2020-12-15 05:55:29 UTC (rev 775842)
@@ -0,0 +1,35 @@
+# Maintainer: Kyle Keen 
+
+pkgname=python2-traitlets
+pkgver=4.3.3
+pkgrel=6
+pkgdesc="A configuration system for Python applications."
+arch=('any')
+url="https://traitlets.readthedocs.io/en/stable/";
+license=('BSD')
+depends=('python2-decorator' 'python2-enum34')
+makedepends=('python2-setuptools')
+
+source=("https://files.pythonhosted.org/packages/source/t/traitlets/traitlets-$pkgver.tar.gz";
+
"https://pypi.python.org/packages/source/i/ipython_genutils/ipython_genutils-0.2.0.tar.gz";)
+md5sums=('3a4f263af65d3d79f1c279f0247077ef'
+ '5a4f9781f78466da0ea1a648f3e1f79f')
+
+# ipython_genutils does not deserve a package
+# "Pretend this doesn’t exist. Nobody should use it."
+# "Vestigial IPython utilities: DO NOT USE"
+# (still required for now though, but drop at first chance)
+
+build() {
+  cd "$srcdir"
+}
+
+package() {
+  # TEMPORARY!
+  cd "$srcdir/ipython_genutils-0.2.0"
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  cd "$srcdir/traitlets-$pkgver"
+  python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+  install -Dm644 COPYING.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


[arch-commits] Commit in (4 files)

2020-12-12 Thread Sven-Hendrik Haase via arch-commits
Date: Saturday, December 12, 2020 @ 11:55:05
  Author: svenstaro
Revision: 773270

Add python-gast03 for tensorflow

Added:
  python-gast03/
  python-gast03/repos/
  python-gast03/trunk/
  python-gast03/trunk/PKGBUILD

--+
 PKGBUILD |   24 
 1 file changed, 24 insertions(+)

Added: python-gast03/trunk/PKGBUILD
===
--- python-gast03/trunk/PKGBUILD(rev 0)
+++ python-gast03/trunk/PKGBUILD2020-12-12 11:55:05 UTC (rev 773270)
@@ -0,0 +1,24 @@
+# Maintainer: Sven-Hendrik Haase 
+pkgname=python-gast03
+pkgver=0.3.3
+pkgrel=1
+pkgdesc="AST that abstracts the underlying Python version"
+url="https://github.com/serge-sans-paille/gast";
+arch=('any')
+license=('BSD')
+conflicts=('python-gast')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.io/packages/source/g/gast/gast-${pkgver}.tar.gz";)
+sha512sums=('36869a5e0976223a5a82be8bf25a01654896f4de70affe0fec5252104ea6d1fea3eb8c5153530fcac8addc47b51535b02e3920a0e82aad11ba1ca8350cd11341')
+
+build() {
+  cd gast-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd gast-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in (4 files)

2020-12-10 Thread Jiachen Yang via arch-commits
Date: Friday, December 11, 2020 @ 02:23:36
  Author: farseerfc
Revision: 773098

add libtg_owt to replace libwebrtc

Added:
  libtg_owt/
  libtg_owt/repos/
  libtg_owt/trunk/
  libtg_owt/trunk/PKGBUILD

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Added: libtg_owt/trunk/PKGBUILD
===
--- libtg_owt/trunk/PKGBUILD(rev 0)
+++ libtg_owt/trunk/PKGBUILD2020-12-11 02:23:36 UTC (rev 773098)
@@ -0,0 +1,50 @@
+# Maintainer: Jiachen YANG 
+
+pkgname=libtg_owt
+_commit=75ac669
+pkgver=0.git1.${_commit}
+pkgrel=1
+pkgdesc='WebRTC library - static linked'
+arch=('x86_64')
+url='https://github.com/desktop-app/tg_owt'
+license=('custom:BSD')
+depends=('protobuf')
+makedepends=('git' 'ninja' 'unzip' 'cmake' 'libxrandr' 'libxcomposite' 
'openssl' 'glibc' 'ffmpeg' 'libva' 'opus' 'yasm' 'libjpeg-turbo')
+options=('staticlibs')
+source=("tg_owt::git+${url}.git#commit=${_commit}"
+"libvpx::git+https://chromium.googlesource.com/webm/libvpx.git";
+"libyuv::git+https://chromium.googlesource.com/libyuv/libyuv.git";)
+b2sums=('SKIP'
+'SKIP'
+'SKIP')
+replaces=('libwebrtc')
+
+prepare() {
+  cd tg_owt
+  git submodule init
+  git config submodule.src/src/third_party/libvpx/source/libvpx 
"$srcdir"/libvpx
+  git config src/third_party/libyuv "$srcdir"/libyuv
+  git submodule update
+}
+
+build() {
+  cd tg_owt
+  mkdir build
+  cd build
+  # path to openssl include is intentionally wrong, so that it will not mess 
up srtp include headers
+  cmake -G Ninja \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DTG_OWT_SPECIAL_TARGET=linux \
+-DTG_OWT_LIBJPEG_INCLUDE_PATH=/usr/include \
+-DTG_OWT_OPENSSL_INCLUDE_PATH=/usr/include \
+-DTG_OWT_OPUS_INCLUDE_PATH=/usr/include/opus \
+-DTG_OWT_FFMPEG_INCLUDE_PATH=/usr/include \
+..
+  ninja
+}
+
+package() {
+  cd tg_owt/build
+  DESTDIR="${pkgdir}/" ninja install
+}


[arch-commits] Commit in (4 files)

2020-12-10 Thread Andreas Radke via arch-commits
Date: Thursday, December 10, 2020 @ 12:00:33
  Author: andyrtr
Revision: 403232

build xwayland standalone from git master - FS#68916

Added:
  xorg-xwayland/
  xorg-xwayland/repos/
  xorg-xwayland/trunk/
  xorg-xwayland/trunk/PKGBUILD

--+
 PKGBUILD |   74 +
 1 file changed, 74 insertions(+)

Added: xorg-xwayland/trunk/PKGBUILD
===
--- xorg-xwayland/trunk/PKGBUILD(rev 0)
+++ xorg-xwayland/trunk/PKGBUILD2020-12-10 12:00:33 UTC (rev 403232)
@@ -0,0 +1,74 @@
+# Maintainer: AndyRTR 
+
+pkgname=xorg-xwayland
+_commit=36e353bcf428c4e6a31292ffa749ea6395cba4a3 # xserver-master-branch 
2020-12-08
+pkgver=1.20.0.r792.g36e353bcf
+pkgrel=1
+arch=('x86_64')
+license=('custom')
+groups=('xorg')
+url="https://xorg.freedesktop.org";
+pkgdesc="run X clients under wayland"
+depends=('nettle' 'libepoxy' 'systemd-libs' 'libxfont2' 'pixman')
+makedepends=('meson' 'git' 
+ 'xorgproto' 'xtrans'
+ 'pixman' 'libxkbfile' 'libxfont2' 'dbus'
+ 'xorg-font-util'
+ 'wayland' 'wayland-protocols'
+ 'libdrm' 'libepoxy' 'mesa-libgl'
+ 'systemd'
+ 'egl-wayland'
+)
+source=("git+https://gitlab.freedesktop.org/xorg/xserver#commit=${_commit}";)
+sha256sums=('SKIP')
+provides=('xorg-server-xwayland')
+conflicts=('xorg-server-xwayland')
+replaces=('xorg-server-xwayland')
+
+pkgver() {
+  cd xserver
+  git describe --tags | sed 's/^xorg.server.//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+  # Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
+  # With them, module fail to load with undefined symbol.
+  # See https://bugs.archlinux.org/task/55102 / 
https://bugs.archlinux.org/task/54845
+#  export CFLAGS=${CFLAGS/-fno-plt}
+#  export CXXFLAGS=${CXXFLAGS/-fno-plt}
+#  export LDFLAGS=${LDFLAGS/,-z,now}
+
+  arch-meson xserver build \
+-D os_vendor="Arch Linux" \
+-D ipv6=true \
+-D xvfb=false \
+-D xnest=false \
+-D xcsecurity=true \
+-D xorg=false \
+-D xephyr=false \
+-D xwayland=true \
+-D xwayland_eglstream=true \
+-D xwin=false \
+-D xquartz=false \
+-D glamor=true \
+-D udev=true \
+-D systemd_logind=true \
+-D suid_wrapper=true \
+-D xkb_dir=/usr/share/X11/xkb \
+-D xkb_output_dir=/var/lib/xkb
+
+  # Print config
+  meson configure build
+  ninja -C build
+}
+
+package() {
+
+  # bin + manpage
+  install -m755 -Dt "${pkgdir}"/usr/bin/Xwayland  build/hw/xwayland/Xwayland
+  install -m644 -Dt "${pkgdir}"/usr/share/man/man1/Xwayland.1 
build/hw/xwayland/Xwayland.1
+
+  # license
+  install -m644 -Dt "${pkgdir}/usr/share/licenses/${pkgname}" xserver/COPYING
+}
+


[arch-commits] Commit in (4 files)

2020-12-10 Thread Felix Yan via arch-commits
Date: Thursday, December 10, 2020 @ 08:52:00
  Author: felixonmars
Revision: 772974

addpkg: haskell-bytestring-handle 0.1.0.6-1

Added:
  haskell-bytestring-handle/
  haskell-bytestring-handle/repos/
  haskell-bytestring-handle/trunk/
  haskell-bytestring-handle/trunk/PKGBUILD

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Added: haskell-bytestring-handle/trunk/PKGBUILD
===
--- haskell-bytestring-handle/trunk/PKGBUILD(rev 0)
+++ haskell-bytestring-handle/trunk/PKGBUILD2020-12-10 08:52:00 UTC (rev 
772974)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+
+_hkgname=bytestring-handle
+pkgname=haskell-bytestring-handle
+pkgver=0.1.0.6
+pkgrel=1
+pkgdesc="ByteString-backed Handles"
+url="http://hub.darcs.net/ganesh/bytestring-handle";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 
'haskell-test-framework'
+ 'haskell-test-framework-hunit' 
'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('fe681cdf7e2238389b6d2090e264b10d0e5085658c89e7ffc870c7a0a43ac1a1')
+
+prepare() {
+  uusi -u QuickCheck -u base $_hkgname-$pkgver/$_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
+  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
+}
+
+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 (4 files)

2020-12-06 Thread David Runge via arch-commits
Date: Sunday, December 6, 2020 @ 18:15:35
  Author: dvzrv
Revision: 771062

Add python-sphinx-click as makedepends for todoman.

Added:
  python-sphinx-click/
  python-sphinx-click/repos/
  python-sphinx-click/trunk/
  python-sphinx-click/trunk/PKGBUILD

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Added: python-sphinx-click/trunk/PKGBUILD
===
--- python-sphinx-click/trunk/PKGBUILD  (rev 0)
+++ python-sphinx-click/trunk/PKGBUILD  2020-12-06 18:15:35 UTC (rev 771062)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge 
+
+_name=sphinx-click
+pkgname=python-sphinx-click
+pkgver=2.5.0
+pkgrel=2
+pkgdesc="Sphinx plugin to automatically document click-based applications"
+arch=('any')
+url="https://github.com/click-contrib/sphinx-click";
+license=('MIT')
+depends=('python-pbr' 'python-sphinx')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-click')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+sha512sums=('0071bacdbc874d6fbe5dd4bffca0b3f5cb884e7ceda81bc2e08e5b6bc10659824c0d007bd6688dc50ec3dfd40ffa8c9ac7334c71ec244ae5c19d4089de813410')
+b2sums=('b2292ca4f84fea919c57fe78d89aad78ecb5fcbe3e1ea42c9e854c52e1488a74afb9a46bff3d2d9b6bac6c364ddc99e360616e9573e8510f78fbec83d5e2cb59')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+--optimize=1 \
+--root="${pkgdir}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}


[arch-commits] Commit in (4 files)

2020-12-06 Thread Jelle van der Waa via arch-commits
Date: Sunday, December 6, 2020 @ 15:15:01
  Author: jelle
Revision: 771044

Depdency of python-trimesh

Added:
  python-collada/
  python-collada/repos/
  python-collada/trunk/
  python-collada/trunk/PKGBUILD

--+
 PKGBUILD |   28 
 1 file changed, 28 insertions(+)

Added: python-collada/trunk/PKGBUILD
===
--- python-collada/trunk/PKGBUILD   (rev 0)
+++ python-collada/trunk/PKGBUILD   2020-12-06 15:15:01 UTC (rev 771044)
@@ -0,0 +1,28 @@
+# Maintainer: Jelle van der Waa 
+
+pkgname=python-collada
+pkgver=0.7.1
+pkgrel=1
+pkgdesc="python library for reading and writing collada documents"
+arch=(any)
+url="https://github.com/pycollada/pycollada";
+license=('BSD')
+depends=(python python-dateutil python-numpy python-lxml)
+makedepends=(python-setuptools)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/pycollada/pycollada/archive/v${pkgver}.tar.gz)
+sha512sums=('ac4d88b2398bf0364beaaf3e2e468be9131dc0f8088bfce8be18d9eb5a7c093db84a364931884fa7c493dfae81036ec63bc7c689ebf49e961eefc0c4853a0131')
+
+build() {
+  cd "pycollada-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "pycollada-${pkgver}/collada"
+  PYTHONPATH=../ python -m unittest discover tests
+}
+
+package() {
+  cd "pycollada-${pkgver}"
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}


[arch-commits] Commit in (4 files)

2020-12-06 Thread Jelle van der Waa via arch-commits
Date: Sunday, December 6, 2020 @ 14:07:03
  Author: jelle
Revision: 771029

Add python-svg.path for python-trimesh

Added:
  python-svg.path/
  python-svg.path/repos/
  python-svg.path/trunk/
  python-svg.path/trunk/PKGBUILD

--+
 PKGBUILD |   29 +
 1 file changed, 29 insertions(+)

Added: python-svg.path/trunk/PKGBUILD
===
--- python-svg.path/trunk/PKGBUILD  (rev 0)
+++ python-svg.path/trunk/PKGBUILD  2020-12-06 14:07:03 UTC (rev 771029)
@@ -0,0 +1,29 @@
+# Maintainer: Jelle van der Waa 
+
+pkgname=python-svg.path
+pkgver=4.0.2
+pkgrel=1
+url="https://github.com/regebro/svg.path";
+license=('MIT')
+depends=(python)
+makedepends=(python-setuptools)
+arch=(any)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/regebro/svg.path/archive/${pkgver}.tar.gz)
+sha512sums=('0659c3d012b81cca83306c2895480bcc770cf23f4fc98dc4f167b6799a9c5618a90aabd81e2c91e6b7c57998d42f04a47d8f0fa966546111cd165127df239510')
+
+build() {
+  cd "svg.path-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "svg.path-${pkgver}"
+  python setup.py test
+}
+
+package() {
+  cd "svg.path-${pkgver}"
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+  install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+}


[arch-commits] Commit in (4 files)

2020-12-02 Thread David Runge via arch-commits
Date: Wednesday, December 2, 2020 @ 14:25:57
  Author: dvzrv
Revision: 769164

Add python-enrich as new dependency for molecule.

Added:
  python-enrich/
  python-enrich/repos/
  python-enrich/trunk/
  python-enrich/trunk/PKGBUILD

--+
 PKGBUILD |   43 +++
 1 file changed, 43 insertions(+)

Added: python-enrich/trunk/PKGBUILD
===
--- python-enrich/trunk/PKGBUILD(rev 0)
+++ python-enrich/trunk/PKGBUILD2020-12-02 14:25:57 UTC (rev 769164)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge 
+
+_name=enrich
+pkgname=python-enrich
+pkgver=1.2.3
+pkgrel=1
+pkgdesc="Extends rich library functionality with a set of changes that were 
not accepted"
+arch=('any')
+url="https://github.com/pycontribs/enrich";
+license=('MIT')
+depends=('python-rich')
+makedepends=('python-setuptools_scm')
+checkdepends=('python-mock' 'python-pytest' 'python-pytest-mock' 
'python-pytest-xdist')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+sha512sums=('c27fd9ed534b41da8951637c8deb5eac2c76f9e65edff04fc8ef81d7ef0f31b640bd3d3d24c7945053b5df3679c9ccd4c2297e97350dc5bb1ff3a427f52bed31')
+b2sums=('c9b8b4f9093f3b686260219282209d2bbc55fcb4338a848f94b0bfdf1aab91c22c46ae59a73be35fba776f9d846f48fe9ef1d98f9e5379aef4a5526960e05539')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # do not require to run with python-pytest-cov
+  sed -e '/addopts/d' -i setup.cfg
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build/lib:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+--optimize=1 \
+--root="${pkgdir}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+}


[arch-commits] Commit in (4 files)

2020-12-02 Thread David Runge via arch-commits
Date: Wednesday, December 2, 2020 @ 09:50:06
  Author: dvzrv
Revision: 769129

Add python-subprocess-tee as new dependency for molecule.

Added:
  python-subprocess-tee/
  python-subprocess-tee/repos/
  python-subprocess-tee/trunk/
  python-subprocess-tee/trunk/PKGBUILD

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Added: python-subprocess-tee/trunk/PKGBUILD
===
--- python-subprocess-tee/trunk/PKGBUILD(rev 0)
+++ python-subprocess-tee/trunk/PKGBUILD2020-12-02 09:50:06 UTC (rev 
769129)
@@ -0,0 +1,44 @@
+# Maintainer: David Runge 
+
+_name=subprocess-tee
+pkgname=python-subprocess-tee
+pkgver=0.1.5
+pkgrel=1
+pkgdesc="A subprocess.run that works like tee"
+arch=('any')
+url="https://github.com/pycontribs/subprocess-tee";
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools_scm')
+checkdepends=('python-mock' 'python-pytest' 'python-pytest-xdist' 
'python-rich')
+optdepends=('python-rich: for rich text rendering')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+sha512sums=('2d7d253623d1e4a7fca53c4d51adc0d88f73bf191ea39fd769d3c4bb8261dfc62dede468a3734aefe7dbc2f91a7d6cad2403f5e1accb046aa62247aa44234a34')
+b2sums=('094453fb40ca53dc0f276cb63e2caa570602b91f0a47a3b17bba869a7b85e1b5f077c1b84521c1946dc0a1df3ee21aaa9ed7cc50cec65f9f6675fadac7f49d1c')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  # do not require to run with python-pytest-cov
+  sed -e '/addopts/d' -i setup.cfg
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+--optimize=1 \
+--root="${pkgdir}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
+}


[arch-commits] Commit in (4 files)

2020-12-02 Thread David Runge via arch-commits
Date: Wednesday, December 2, 2020 @ 09:12:09
  Author: dvzrv
Revision: 769115

Add python-pytest-testinfra, replacing python-testinfra (upstream move and 
rename).

Added:
  python-pytest-testinfra/
  python-pytest-testinfra/repos/
  python-pytest-testinfra/trunk/
  python-pytest-testinfra/trunk/PKGBUILD

--+
 PKGBUILD |   60 
 1 file changed, 60 insertions(+)

Added: python-pytest-testinfra/trunk/PKGBUILD
===
--- python-pytest-testinfra/trunk/PKGBUILD  (rev 0)
+++ python-pytest-testinfra/trunk/PKGBUILD  2020-12-02 09:12:09 UTC (rev 
769115)
@@ -0,0 +1,60 @@
+# Maintainer: Christian Rebischke 
+# Contributor: David Runge 
+# Contributor: Lex Black 
+# Contributor: gardar 
+# Contributor: Morten Linderud 
+
+_name=pytest-testinfra
+pkgname=python-pytest-testinfra
+pkgver=6.1.0
+pkgrel=1
+pkgdesc='Testinfra test your infrastructures'
+url="https://github.com/pytest-dev/pytest-testinfra";
+arch=('any')
+license=('Apache')
+depends=('python-pytest')
+makedepends=('python-hacking' 'python-setuptools_scm' 'python-sphinx')
+checkdepends=('ansible' 'python-mock' 'python-paramiko' 'python-pytest-cov'
+'python-pytest-xdist' 'python-pywinrm' 'python-tornado' 'salt')
+# TODO: add salt to optdepends, after it has been ported to python3
+optdepends=('ansible: for tests using ansible inventories'
+'docker: for test running docker containers'
+'kubectl: for test running containers in kubernetes'
+'lxd: for test running LXC or LXD containers'
+'podman: for test running podman containers'
+'python-paramiko: for testing remote hosts'
+'python-pywinrm: for testing on Windows hosts')
+conflicts=('python-testinfra')
+provides=('python-testinfra')
+replaces=('python-testinfra')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+sha512sums=('15c8f3539f63f8587c5b19979215673fb51d476353fd37e35aeb2308a6c4be681f3d247783c87ba0dac68673394ba116fe9fbf32d386baade3f6a8769851d2ec')
+b2sums=('ed4787d3ec504a757716a7e5c8e00f9c203db18d22a7fba7da411f9cb1fe89bac156a7f4600684a202bdab3785344c58e22b8ff8f011f7e06707d922bccc4ad9')
+
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+  make -C doc man
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  export PYTHONPATH="build:$PYTHONPATH"
+  # salt is not python3 (yet): https://bugs.archlinux.org/task/61129
+  pytest -v -k 'not test_backend_importables'
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  # man page
+  install -Dm 644 doc/build/man/*.1 \
+-t "${pkgdir}/usr/share/man/man1/"
+  # docs
+  install -vDm 644 {CHANGELOG,CONTRIBUTING,README}.rst \
+-t "${pkgdir}/usr/share/doc/${pkgname}"
+}


[arch-commits] Commit in (4 files)

2020-12-01 Thread Felix Yan via arch-commits
Date: Tuesday, December 1, 2020 @ 15:57:47
  Author: felixonmars
Revision: 767173

addpkg: haskell-hie-compat 0.1.0.0-1

Added:
  haskell-hie-compat/
  haskell-hie-compat/repos/
  haskell-hie-compat/trunk/
  haskell-hie-compat/trunk/PKGBUILD

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Added: haskell-hie-compat/trunk/PKGBUILD
===
--- haskell-hie-compat/trunk/PKGBUILD   (rev 0)
+++ haskell-hie-compat/trunk/PKGBUILD   2020-12-01 15:57:47 UTC (rev 767173)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hie-compat
+pkgname=haskell-hie-compat
+pkgver=0.1.0.0
+pkgrel=1
+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=('038ecefb8e536b0902cdff1f13bc2a6781659458c10a7b4ce0f44145fd599603')
+
+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
+  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 (4 files)

2020-11-30 Thread Daurnimator via arch-commits
Date: Monday, November 30, 2020 @ 13:29:56
  Author: daurnimator
Revision: 766561

Move lua-fifo from community

Added:
  lua-fifo/
  lua-fifo/repos/
  lua-fifo/trunk/
  lua-fifo/trunk/PKGBUILD

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Added: lua-fifo/trunk/PKGBUILD
===
--- lua-fifo/trunk/PKGBUILD (rev 0)
+++ lua-fifo/trunk/PKGBUILD 2020-11-30 13:29:56 UTC (rev 766561)
@@ -0,0 +1,42 @@
+# Maintainer: Daurnimator 
+
+pkgname=('lua-fifo' 'lua51-fifo' 'lua52-fifo' 'lua53-fifo')
+pkgver=0.2
+pkgrel=1
+arch=('any')
+url='https://github.com/daurnimator/fifo.lua'
+license=('MIT')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/daurnimator/fifo.lua/archive/$pkgver.tar.gz";)
+sha256sums=('85cad0c2f9eac1cd3e08c5134feb655e0b928e1e22363c3ef3293a194c0eb53f')
+
+package_lua-fifo() {
+   pkgdesc='Fifo library for Lua 5.4'
+
+   cd "fifo.lua-$pkgver"
+   install -Dm644 fifo.lua "$pkgdir/usr/share/lua/5.4/fifo.lua"
+   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua51-fifo() {
+   pkgdesc='Fifo library for Lua 5.1'
+
+   cd "fifo.lua-$pkgver"
+   install -Dm644 fifo.lua "$pkgdir/usr/share/lua/5.1/fifo.lua"
+   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-fifo() {
+   pkgdesc='Fifo library for Lua 5.2'
+
+   cd "fifo.lua-$pkgver"
+   install -Dm644 fifo.lua "$pkgdir/usr/share/lua/5.2/fifo.lua"
+   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua53-fifo() {
+   pkgdesc='Fifo library for Lua 5.3'
+
+   cd "fifo.lua-$pkgver"
+   install -Dm644 fifo.lua "$pkgdir/usr/share/lua/5.3/fifo.lua"
+   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


[arch-commits] Commit in (4 files)

2020-11-29 Thread Frederik Schwan via arch-commits
Date: Sunday, November 29, 2020 @ 21:57:45
  Author: freswa
Revision: 766449

move perl-encode-imaputf7 from unsupported to community

Added:
  perl-encode-imaputf7/
  perl-encode-imaputf7/repos/
  perl-encode-imaputf7/trunk/
  perl-encode-imaputf7/trunk/PKGBUILD

--+
 PKGBUILD |   35 +++
 1 file changed, 35 insertions(+)

Added: perl-encode-imaputf7/trunk/PKGBUILD
===
--- perl-encode-imaputf7/trunk/PKGBUILD (rev 0)
+++ perl-encode-imaputf7/trunk/PKGBUILD 2020-11-29 21:57:45 UTC (rev 766449)
@@ -0,0 +1,35 @@
+# Maintainer: Frederik Schwan 
+# Contributor: Moritz Bunkus 
+
+pkgname='perl-encode-imaputf7'
+pkgver=1.05
+pkgrel=4
+pkgdesc='Modification of UTF-7 encoding for IMAP'
+arch=('any')
+url='http://search.cpan.org/dist/Encode-IMAPUTF7'
+license=('GPL')
+checkdepends=('perl-test-nowarnings')
+options=('!emptydirs' purge)
+source=("http://cpan.metacpan.org/authors/id/P/PM/PMAKHOLM/Encode-IMAPUTF7-${pkgver}.tar.gz";)
+b2sums=('8024f0029145df4ec409394eaa799612dadd65a1bc6f2e9fdad51a950a0756b73daa5da2579f22d38efd367642a9ae0f7402f6beeea02a51f84a725803849ba6')
+
+build() {
+  cd Encode-IMAPUTF7-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  /usr/bin/perl Makefile.PL
+  make
+}
+
+check() {
+  cd Encode-IMAPUTF7-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd Encode-IMAPUTF7-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+}


[arch-commits] Commit in (4 files)

2020-11-29 Thread Felix Yan via arch-commits
Date: Sunday, November 29, 2020 @ 14:53:40
  Author: felixonmars
Revision: 766339

addpkg: haskell-butcher 1.3.3.2-1

Added:
  haskell-butcher/
  haskell-butcher/repos/
  haskell-butcher/trunk/
  haskell-butcher/trunk/PKGBUILD

--+
 PKGBUILD |   47 +++
 1 file changed, 47 insertions(+)

Added: haskell-butcher/trunk/PKGBUILD
===
--- haskell-butcher/trunk/PKGBUILD  (rev 0)
+++ haskell-butcher/trunk/PKGBUILD  2020-11-29 14:53:40 UTC (rev 766339)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=butcher
+pkgname=haskell-butcher
+pkgver=1.3.3.2
+pkgrel=1
+pkgdesc="Chops a command or program invocation into digestable pieces."
+url="https://github.com/lspitzner/butcher/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-bifunctors' 'haskell-deque' 'haskell-extra' 
'haskell-free'
+ 'haskell-microlens' 'haskell-microlens-th' 'haskell-multistate' 
'haskell-unsafe'
+ 'haskell-void')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('1d0f8e8e498b012c4a859671eebf34a6e965e8ed99b3c90d3aad1d8898c40f1b')
+
+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
+  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
+}
+
+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 (4 files)

2020-11-29 Thread Felix Yan via arch-commits
Date: Sunday, November 29, 2020 @ 14:52:49
  Author: felixonmars
Revision: 766337

addpkg: haskell-czipwith 1.0.1.3-1

Added:
  haskell-czipwith/
  haskell-czipwith/repos/
  haskell-czipwith/trunk/
  haskell-czipwith/trunk/PKGBUILD

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Added: haskell-czipwith/trunk/PKGBUILD
===
--- haskell-czipwith/trunk/PKGBUILD (rev 0)
+++ haskell-czipwith/trunk/PKGBUILD 2020-11-29 14:52:49 UTC (rev 766337)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=czipwith
+pkgname=haskell-czipwith
+pkgver=1.0.1.3
+pkgrel=1
+pkgdesc="CZipWith class and deriving via TH"
+url="https://github.com/lspitzner/czipwith/";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('2dc48540e574ebc924fe13ca2b08be103d228fd42ef90db2896e3727eb0f6687')
+
+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
+  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
+}
+
+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 (4 files)

2020-11-29 Thread Felix Yan via arch-commits
Date: Sunday, November 29, 2020 @ 14:51:23
  Author: felixonmars
Revision: 766335

addpkg: haskell-data-tree-print 0.1.0.2-1

Added:
  haskell-data-tree-print/
  haskell-data-tree-print/repos/
  haskell-data-tree-print/trunk/
  haskell-data-tree-print/trunk/PKGBUILD

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Added: haskell-data-tree-print/trunk/PKGBUILD
===
--- haskell-data-tree-print/trunk/PKGBUILD  (rev 0)
+++ haskell-data-tree-print/trunk/PKGBUILD  2020-11-29 14:51:23 UTC (rev 
766335)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=data-tree-print
+pkgname=haskell-data-tree-print
+pkgver=0.1.0.2
+pkgrel=1
+pkgdesc="Print Data instances as a nested tree"
+url="https://github.com/lspitzner/data-tree-print";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-syb')
+makedepends=('ghc' 'uusi')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('c3ef24d803946a3caf0ff0e51f0c0b9f49055d7dc790518ad518d568d5195002')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  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
+  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 (4 files)

2020-11-29 Thread Felix Yan via arch-commits
Date: Sunday, November 29, 2020 @ 14:48:46
  Author: felixonmars
Revision: 766333

addpkg: haskell-deque 0.4.3-1

Added:
  haskell-deque/
  haskell-deque/repos/
  haskell-deque/trunk/
  haskell-deque/trunk/PKGBUILD

--+
 PKGBUILD |   46 ++
 1 file changed, 46 insertions(+)

Added: haskell-deque/trunk/PKGBUILD
===
--- haskell-deque/trunk/PKGBUILD(rev 0)
+++ haskell-deque/trunk/PKGBUILD2020-11-29 14:48:46 UTC (rev 766333)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=deque
+pkgname=haskell-deque
+pkgver=0.4.3
+pkgrel=1
+pkgdesc="Double-ended queues"
+url="https://github.com/nikita-volkov/deque";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hashable' 'haskell-strict-list')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-quickcheck-instances' 
'haskell-rerebase'
+ 'haskell-tasty' 'haskell-tasty-hunit' 'haskell-tasty-quickcheck')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('b76a0e7d8a5f3b12ca8cf5a583f3e8e4333c7860f56b1e921a3fdfe959e557a5')
+
+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
+  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
+}
+
+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 (4 files)

2020-11-26 Thread Daurnimator via arch-commits
Date: Thursday, November 26, 2020 @ 14:12:14
  Author: daurnimator
Revision: 763536

Add lua-binaryheap

Dependency of lua-http

Added:
  lua-binaryheap/
  lua-binaryheap/repos/
  lua-binaryheap/trunk/
  lua-binaryheap/trunk/PKGBUILD

--+
 PKGBUILD |   38 ++
 1 file changed, 38 insertions(+)

Added: lua-binaryheap/trunk/PKGBUILD
===
--- lua-binaryheap/trunk/PKGBUILD   (rev 0)
+++ lua-binaryheap/trunk/PKGBUILD   2020-11-26 14:12:14 UTC (rev 763536)
@@ -0,0 +1,38 @@
+# Maintainer: Daurnimator 
+
+pkgname=('lua-binaryheap' 'lua51-binaryheap' 'lua52-binaryheap' 
'lua53-binaryheap')
+pkgver=0.4
+pkgrel=2
+arch=('any')
+url='https://github.com/Tieske/binaryheap.lua'
+license=('MIT')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Tieske/binaryheap.lua/archive/version_0v4.tar.gz";)
+sha256sums=('10b1b6c6f2d22560f512f9896a6672ec5ae0eea1390ff8e662be1d5d9625b438')
+
+package_lua-binaryheap() {
+   pkgdesc='Binary heap implementation for Lua 5.4'
+
+   cd "binaryheap.lua-version_0v4"
+   install -Dm644 src/binaryheap.lua 
"$pkgdir/usr/share/lua/5.4/binaryheap.lua"
+}
+
+package_lua51-binaryheap() {
+   pkgdesc='Binary heap implementation for Lua 5.1'
+
+   cd "binaryheap.lua-version_0v4"
+   install -Dm644 src/binaryheap.lua 
"$pkgdir/usr/share/lua/5.1/binaryheap.lua"
+}
+
+package_lua52-binaryheap() {
+   pkgdesc='Binary heap implementation for Lua 5.2'
+
+   cd "binaryheap.lua-version_0v4"
+   install -Dm644 src/binaryheap.lua 
"$pkgdir/usr/share/lua/5.2/binaryheap.lua"
+}
+
+package_lua53-binaryheap() {
+   pkgdesc='Binary heap implementation for Lua 5.3'
+
+   cd "binaryheap.lua-version_0v4"
+   install -Dm644 src/binaryheap.lua 
"$pkgdir/usr/share/lua/5.3/binaryheap.lua"
+}


[arch-commits] Commit in (4 files)

2020-11-26 Thread Daurnimator via arch-commits
Date: Thursday, November 26, 2020 @ 14:02:15
  Author: daurnimator
Revision: 763534

Add lua-basexx

Dependency for knot-resolver and lua-http

Added:
  lua-basexx/
  lua-basexx/repos/
  lua-basexx/trunk/
  lua-basexx/trunk/PKGBUILD

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Added: lua-basexx/trunk/PKGBUILD
===
--- lua-basexx/trunk/PKGBUILD   (rev 0)
+++ lua-basexx/trunk/PKGBUILD   2020-11-26 14:02:15 UTC (rev 763534)
@@ -0,0 +1,42 @@
+# Maintainer: Daurnimator 
+
+pkgname=('lua-basexx' 'lua51-basexx' 'lua52-basexx' 'lua53-basexx')
+pkgver=0.4.1
+pkgrel=2
+arch=('any')
+url='https://github.com/aiq/basexx'
+license=('MIT')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/aiq/basexx/archive/v$pkgver.tar.gz";)
+sha256sums=('ff62b00446df1181a9cd20ba970c3c8493165d262142e10d069ee3de6337dfe6')
+
+package_lua-basexx() {
+   pkgdesc='A Lua library which provides base2(bitfield), base16(hex), 
base32(crockford/rfc), base64(rfc/url), base85(z85) decoding and encoding for 
Lua 5.4'
+
+   cd "basexx-$pkgver"
+   install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.4/basexx.lua"
+   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua51-basexx() {
+   pkgdesc='A Lua library which provides base2(bitfield), base16(hex), 
base32(crockford/rfc), base64(rfc/url), base85(z85) decoding and encoding for 
Lua 5.1'
+
+   cd "basexx-$pkgver"
+   install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.1/basexx.lua"
+   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua52-basexx() {
+   pkgdesc='A Lua library which provides base2(bitfield), base16(hex), 
base32(crockford/rfc), base64(rfc/url), base85(z85) decoding and encoding for 
Lua 5.2'
+
+   cd "basexx-$pkgver"
+   install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.2/basexx.lua"
+   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+package_lua53-basexx() {
+   pkgdesc='A Lua library which provides base2(bitfield), base16(hex), 
base32(crockford/rfc), base64(rfc/url), base85(z85) decoding and encoding for 
Lua 5.3'
+
+   cd "basexx-$pkgver"
+   install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.3/basexx.lua"
+   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


[arch-commits] Commit in (4 files)

2020-11-26 Thread Felix Yan via arch-commits
Date: Thursday, November 26, 2020 @ 12:43:31
  Author: felixonmars
Revision: 763469

addpkg: haskell-js-chart 2.9.4.1-1

Added:
  haskell-js-chart/
  haskell-js-chart/repos/
  haskell-js-chart/trunk/
  haskell-js-chart/trunk/PKGBUILD

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Added: haskell-js-chart/trunk/PKGBUILD
===
--- haskell-js-chart/trunk/PKGBUILD (rev 0)
+++ haskell-js-chart/trunk/PKGBUILD 2020-11-26 12:43:31 UTC (rev 763469)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=js-chart
+pkgname=haskell-js-chart
+pkgver=2.9.4.1
+pkgrel=1
+pkgdesc="Obtain minified chart.js code"
+url="https://github.com/jonascarpay/js-chart#readme";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('0a08efdd35bd1b8f293f9163f59305f31835304b74c3e3a1a840fc94bbc9bd0e')
+
+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
+  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
+}
+
+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 (4 files)

2020-11-24 Thread Kpcyrd via arch-commits
Date: Tuesday, November 24, 2020 @ 17:35:22
  Author: kpcyrd
Revision: 760990

addpkg: php-snuffleupagus 0.6.0-1

Added:
  php-snuffleupagus/
  php-snuffleupagus/repos/
  php-snuffleupagus/trunk/
  php-snuffleupagus/trunk/PKGBUILD

--+
 PKGBUILD |   37 +
 1 file changed, 37 insertions(+)

Added: php-snuffleupagus/trunk/PKGBUILD
===
--- php-snuffleupagus/trunk/PKGBUILD(rev 0)
+++ php-snuffleupagus/trunk/PKGBUILD2020-11-24 17:35:22 UTC (rev 760990)
@@ -0,0 +1,37 @@
+# Maintainer: kpcyrd 
+# Contributor: Julien (jvoisin) Voisin 
+
+pkgname=php-snuffleupagus
+_pkgname=snuffleupagus
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Security module for PHP"
+url='https://snuffleupagus.readthedocs.io/'
+arch=('x86_64')
+license=('LGPL3')
+depends=('php' 'pcre')
+backup=('etc/php/conf.d/snuffleupagus.ini'
+'etc/php/conf.d/snuffleupagus.rules')
+source=(https://github.com/jvoisin/${_pkgname}/archive/v${pkgver}/${_pkgname}-${pkgver}.tar.gz)
+b2sums=('c37e247388c5ede3a2c065c5df42dba37e8da3f0fc2856a4d785c6e139fb13a6daf9a2feacde16c392a158f340f12b3b4724f23b05e4eb4f0e7c070c0fa907b2')
+
+build() {
+  cd ${_pkgname}-${pkgver}/src
+  phpize
+  ./configure --prefix=/usr --enable-"${_pkgname}"
+  make
+}
+
+check() {
+  cd ${_pkgname}-${pkgver}/src
+  NO_INTERACTION=1 REPORT_EXIT_STATUS=1 make test
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  make -C src INSTALL_ROOT="${pkgdir}" install
+  install -D -m644 "config/default.rules" 
"${pkgdir}/etc/php/conf.d/${_pkgname}.rules"
+  install -D -m644 "config/${_pkgname}.ini" 
"${pkgdir}/etc/php/conf.d/${_pkgname}.ini"
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in (4 files)

2020-11-23 Thread Kyle Keen via arch-commits
Date: Monday, November 23, 2020 @ 11:18:44
  Author: kkeen
Revision: 759876

pkginit: python-nest_asyncio 1.4.3-1

Added:
  python-nest_asyncio/
  python-nest_asyncio/repos/
  python-nest_asyncio/trunk/
  python-nest_asyncio/trunk/PKGBUILD

--+
 PKGBUILD |   24 
 1 file changed, 24 insertions(+)

Added: python-nest_asyncio/trunk/PKGBUILD
===
--- python-nest_asyncio/trunk/PKGBUILD  (rev 0)
+++ python-nest_asyncio/trunk/PKGBUILD  2020-11-23 11:18:44 UTC (rev 759876)
@@ -0,0 +1,24 @@
+# Maintainer: Kyle Keen 
+# Contributor: Iyán Méndez Veiga 
+pkgname=python-nest_asyncio
+_pkgname=nest_asyncio
+pkgver=1.4.3
+pkgrel=1
+pkgdesc="Patch asyncio to allow nested event loops"
+arch=('any')
+url="https://github.com/erdewit/nest_asyncio";
+license=('BSD')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/n/$_pkgname/$_pkgname-$pkgver.tar.gz";)
+md5sums=('37b8f09494c63a888397ce8ef5c32b0e')
+
+build() {
+cd "$srcdir/$_pkgname-$pkgver"
+python setup.py build
+}
+
+package() {
+cd "$srcdir/$_pkgname-$pkgver"
+python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


[arch-commits] Commit in (4 files)

2020-11-22 Thread Kyle Keen via arch-commits
Date: Sunday, November 22, 2020 @ 18:14:45
  Author: kkeen
Revision: 759356

pkginit: new deps for jupyter-nbconvert

Added:
  jupyterlab_pygments/
  jupyterlab_pygments/repos/
  jupyterlab_pygments/trunk/
  jupyterlab_pygments/trunk/PKGBUILD

--+
 PKGBUILD |   23 +++
 1 file changed, 23 insertions(+)

Added: jupyterlab_pygments/trunk/PKGBUILD
===
--- jupyterlab_pygments/trunk/PKGBUILD  (rev 0)
+++ jupyterlab_pygments/trunk/PKGBUILD  2020-11-22 18:14:45 UTC (rev 759356)
@@ -0,0 +1,23 @@
+# Maintainer: Kyle Keen 
+
+pkgname=jupyterlab_pygments
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="Pygments theme using JupyterLab CSS variables"
+arch=('any')
+#url="https://pypi.org/project/jupyterlab-pygments/";
+url="https://github.com/jupyterlab/jupyterlab_pygments";
+license=('BSD')
+depends=('python-pygments')
+# NPM package @jupyterlab/codemirror ?
+makedepends=('python-setuptools')
+optdepends=()
+source=("$pkgname-$pkgver.tgz::https://github.com/jupyterlab/$pkgname/archive/$pkgver.tar.gz";)
+md5sums=('1217dad77f63b45ae99bc9cd1d02f29d')
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0
+
+  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}


[arch-commits] Commit in (4 files)

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 17:11:22
  Author: felixonmars
Revision: 759276

addpkg: python-pydle 0.9.4-1

Added:
  python-pydle/
  python-pydle/repos/
  python-pydle/trunk/
  python-pydle/trunk/PKGBUILD

--+
 PKGBUILD |   33 +
 1 file changed, 33 insertions(+)

Added: python-pydle/trunk/PKGBUILD
===
--- python-pydle/trunk/PKGBUILD (rev 0)
+++ python-pydle/trunk/PKGBUILD 2020-11-22 17:11:22 UTC (rev 759276)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-pydle
+pkgver=0.9.4
+pkgrel=1
+pkgdesc="A compact, flexible and standards-abiding IRC library"
+url="https://github.com/Shizmob/pydle";
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+optdepends=('python-pure-sasl: for SASL support')
+checkdepends=('python-pytest' 'python-pure-sasl')
+source=("https://github.com/Shizmob/pydle/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('3b61b603aca1f6da6cc8674fe07f3f14a6d14a7db27c33d376c6e5275feb1a00b4e6a8c19d1a52a67e3dae1440292a8cbac13fc0a73d87b5205d8ecde03ec61c')
+
+build() {
+  cd pydle-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pydle-$pkgver
+  # https://github.com/Shizmob/pydle/issues/78
+  pytest || echo "Tests failed"
+}
+
+package() {
+  cd pydle-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+}


[arch-commits] Commit in (4 files)

2020-11-22 Thread Felix Yan via arch-commits
Date: Sunday, November 22, 2020 @ 17:10:50
  Author: felixonmars
Revision: 759272

addpkg: python-pure-sasl 0.6.2-1

Added:
  python-pure-sasl/
  python-pure-sasl/repos/
  python-pure-sasl/trunk/
  python-pure-sasl/trunk/PKGBUILD

--+
 PKGBUILD |   32 
 1 file changed, 32 insertions(+)

Added: python-pure-sasl/trunk/PKGBUILD
===
--- python-pure-sasl/trunk/PKGBUILD (rev 0)
+++ python-pure-sasl/trunk/PKGBUILD 2020-11-22 17:10:50 UTC (rev 759272)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-pure-sasl
+pkgver=0.6.2
+pkgrel=1
+pkgdesc="Pure Python client SASL implementation"
+url="https://github.com/thobbs/pure-sasl";
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+optdepends=('python-kerberos: for GSSAPI support')
+checkdepends=('python-mock' 'python-nose' 'python-pykerberos')
+source=("https://github.com/thobbs/pure-sasl/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('e4ac40822014dec0522faf25f0806cd5cb1053fa7c5362fd3569f79f43ac775aa1a7895421699d36713e0493ebfc7215da0bca9fee516e07b4ef1e182684d4bb')
+
+build() {
+  cd pure-sasl-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pure-sasl-$pkgver
+  nosetests3
+}
+
+package() {
+  cd pure-sasl-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}


[arch-commits] Commit in (4 files)

2020-11-22 Thread Jelle van der Waa via arch-commits
Date: Sunday, November 22, 2020 @ 15:32:02
  Author: jelle
Revision: 759204

new dependency of esptool

Added:
  python-reedsolo/
  python-reedsolo/repos/
  python-reedsolo/trunk/
  python-reedsolo/trunk/PKGBUILD

--+
 PKGBUILD |   30 ++
 1 file changed, 30 insertions(+)

Added: python-reedsolo/trunk/PKGBUILD
===
--- python-reedsolo/trunk/PKGBUILD  (rev 0)
+++ python-reedsolo/trunk/PKGBUILD  2020-11-22 15:32:02 UTC (rev 759204)
@@ -0,0 +1,30 @@
+# Maintainer: Jelle van der Waa 
+
+pkgname=python-reedsolomon
+pkgver=1.5.4
+pkgrel=1
+pkgdesc='A pure-python universal errors-and-erasures Reed-Solomon Codec'
+arch=('x86_64')
+url="https://github.com/tomerfiliba/reedsolomon";
+license=('custom')
+depends=('python' )
+makedepends=('git' 'python-setuptools' 'python-nose' 'cython')
+depends=('python')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tomerfiliba/reedsolomon/archive/v${pkgver}.tar.gz";)
+sha512sums=('c738f817c8f536ee86e5bcd3de73a4cf6a3e606ba196a359b6c09e7372dba31316ddb8b134d7c335100e4c2ff0158ff07caa35fee9bc20768bde23cd803e274a')
+
+build() {
+  cd "reedsolomon-${pkgver}"
+  python3 setup.py build
+}
+
+check() {
+  cd "reedsolomon-${pkgver}"
+  python3 setup.py test
+}
+
+package() {
+  cd "reedsolomon-${pkgver}"
+  python3 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+  install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}


[arch-commits] Commit in (4 files)

2020-11-21 Thread Fabio Castelli via arch-commits
Date: Sunday, November 22, 2020 @ 01:45:04
  Author: muflone
Revision: 758757

New package perl-gtk3-imageview 6-1

Added:
  perl-gtk3-imageview/
  perl-gtk3-imageview/repos/
  perl-gtk3-imageview/trunk/
  perl-gtk3-imageview/trunk/PKGBUILD

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Added: perl-gtk3-imageview/trunk/PKGBUILD
===
--- perl-gtk3-imageview/trunk/PKGBUILD  (rev 0)
+++ perl-gtk3-imageview/trunk/PKGBUILD  2020-11-22 01:45:04 UTC (rev 758757)
@@ -0,0 +1,41 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=perl-gtk3-imageview
+_perl_namespace=Gtk3
+_perl_module=ImageView
+pkgver=6
+pkgrel=1
+pkgdesc="Image viewer widget for Gtk3"
+arch=('any')
+url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}";
+license=('LGPL')
+depends=('perl-gtk3' 'imagemagick')
+checkdepends=('perl-test-exception' 'perl-test-memory-cycle' 'perl-try-tiny'
+  'perl-readonly' 'perl-test-mockobject' 'perl-test-differences'
+  'perl-carp-always' 'xorg-server-xvfb')
+source=("https://cpan.metacpan.org/authors/id/R/RA/RATCLIFFE/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz";)
+sha512sums=('68fc3371fe3d62163523d81732f0716fe15623a53139e8050e3bddc12c694a9ae2e89855b9926e14b18803e9c7a586b925b613e1cf364cb449b850fe70b571ab')
+options=('!emptydirs')
+
+build() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  xvfb-run -a -s "-extension GLX -screen 0 1280x1024x24" make test
+}
+
+package() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+  # Delete unuseful files
+  find "${pkgdir}" -name '.packlist' -delete
+}


[arch-commits] Commit in (4 files)

2020-11-21 Thread Fabio Castelli via arch-commits
Date: Sunday, November 22, 2020 @ 01:30:51
  Author: muflone
Revision: 758745

new package perl-carp-always 0.16-1

Added:
  perl-carp-always/
  perl-carp-always/repos/
  perl-carp-always/trunk/
  perl-carp-always/trunk/PKGBUILD

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Added: perl-carp-always/trunk/PKGBUILD
===
--- perl-carp-always/trunk/PKGBUILD (rev 0)
+++ perl-carp-always/trunk/PKGBUILD 2020-11-22 01:30:51 UTC (rev 758745)
@@ -0,0 +1,40 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: John D Jones III 

+
+pkgname=perl-carp-always
+_perl_namespace=Carp
+_perl_module=Always
+pkgver=0.16
+pkgrel=1
+pkgdesc="Warns and dies noisily with stack backtraces"
+arch=('any')
+url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}";
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+checkdepends=('perl-test-base')
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz";)
+sha512sums=('208e8d8435aebcc8c8345a453d17daaf35976c40e2b91cf528b92e9f6afba81cff9b31b656d71a6736838631e4b110cd12e49cfc48810872d39109b137fa074b')
+options=('!emptydirs')
+
+build() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+  # Delete unuseful files
+  find "${pkgdir}" -name '.packlist' -delete
+}


[arch-commits] Commit in (4 files)

2020-11-21 Thread Daniel M. Capella via arch-commits
Date: Sunday, November 22, 2020 @ 01:26:56
  Author: polyzen
Revision: 758743

Add python-pdftotext

Added:
  python-pdftotext/
  python-pdftotext/repos/
  python-pdftotext/trunk/
  python-pdftotext/trunk/PKGBUILD

--+
 PKGBUILD |   35 +++
 1 file changed, 35 insertions(+)

Added: python-pdftotext/trunk/PKGBUILD
===
--- python-pdftotext/trunk/PKGBUILD (rev 0)
+++ python-pdftotext/trunk/PKGBUILD 2020-11-22 01:26:56 UTC (rev 758743)
@@ -0,0 +1,35 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: Shane Stone 
+
+_name=pdftotext
+pkgname=python-pdftotext
+pkgver=2.1.5
+pkgrel=1
+pkgdesc='Simple PDF text extraction'
+arch=('x86_64')
+url=https://github.com/jalan/pdftotext
+license=('MIT')
+depends=('poppler' 'python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('98aeb8b07a4127e1a30223bd933ef080bbd29aa88f801717ca6c5618380b8aa6')
+b2sums=('35f54d278d15fb79a1efcd0576ab3a6188e2d440e4606c57335666877fed3fa3364beee9891e39b9dcd9fc7bd299e944a5342bd1267326a0b43a91e27376')
+
+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 
-m unittest discover tests
+}
+
+package() {
+  cd $_name-$pkgver
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in (4 files)

2020-11-21 Thread Fabio Castelli via arch-commits
Date: Sunday, November 22, 2020 @ 00:00:08
  Author: muflone
Revision: 758709

new package perl-pdf-builder 3.019-1

Added:
  perl-pdf-builder/
  perl-pdf-builder/repos/
  perl-pdf-builder/trunk/
  perl-pdf-builder/trunk/PKGBUILD

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Added: perl-pdf-builder/trunk/PKGBUILD
===
--- perl-pdf-builder/trunk/PKGBUILD (rev 0)
+++ perl-pdf-builder/trunk/PKGBUILD 2020-11-22 00:00:08 UTC (rev 758709)
@@ -0,0 +1,40 @@
+# Maintainer: Muflone http://www.muflone.com/contacts/english/
+# Contributor: web.de jan.stuehler
+
+pkgname=perl-pdf-builder
+_perl_namespace=PDF
+_perl_module=Builder
+pkgver=3.019
+pkgrel=1
+pkgdesc="Facilitates the creation and modification of PDF files"
+arch=('any')
+url="https://metacpan.org/release/${_perl_namespace}-${_perl_module}";
+license=('LGPL')
+depends=('perl' 'perl-font-ttf')
+checkdepends=('perl-test-exception' 'perl-test-memory-cycle')
+source=("https://www.cpan.org/modules/by-module/${_perl_namespace}/${_perl_namespace}-${_perl_module}-${pkgver}.tar.gz";)
+sha512sums=('f1869a6ecb202a7661600e91ddc1ab1d21387979d7e42470ec4c663f2b36b8c04e12c475f5ba90a88ce43950723f73ce46c5d0057220d5a53e34cc16b22ce92e')
+options=('!emptydirs')
+
+build() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd "${_perl_namespace}-${_perl_module}-${pkgver}"
+  unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
+  make pure_install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+  # Delete unuseful files
+  find "${pkgdir}" -name '.packlist' -delete
+}


[arch-commits] Commit in (4 files)

2020-11-21 Thread Felix Yan via arch-commits
Date: Saturday, November 21, 2020 @ 17:13:16
  Author: felixonmars
Revision: 758508

addpkg: haskell-floskell 0.10.5-1

Added:
  haskell-floskell/
  haskell-floskell/repos/
  haskell-floskell/trunk/
  haskell-floskell/trunk/PKGBUILD

--+
 PKGBUILD |   47 +++
 1 file changed, 47 insertions(+)

Added: haskell-floskell/trunk/PKGBUILD
===
--- haskell-floskell/trunk/PKGBUILD (rev 0)
+++ haskell-floskell/trunk/PKGBUILD 2020-11-21 17:13:16 UTC (rev 758508)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+_hkgname=floskell
+pkgname=haskell-floskell
+pkgver=0.10.5
+pkgrel=1
+pkgdesc="A flexible Haskell source code pretty printer"
+url="https://github.com/ennocramer/floskell";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec'
+ 'haskell-data-default' 'haskell-src-exts' 'haskell-monad-dijkstra'
+ 'haskell-optparse-applicative' 'haskell-unordered-containers' 
'haskell-utf8-string')
+makedepends=('ghc' 'haskell-hspec')
+source=("https://github.com/ennocramer/floskell/archive/floskell-$pkgver.tar.gz";)
+sha256sums=('91aa7caa269d1df60c7b21226721e0bd0e8595308b0d3f56dfd5e775b2d1f9ab')
+
+build() {
+  cd $_hkgname-floskell-$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
+  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-floskell-$pkgver
+  runhaskell Setup test
+}
+
+package() {
+  cd $_hkgname-floskell-$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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


[arch-commits] Commit in (4 files)

2020-11-21 Thread Felix Yan via arch-commits
Date: Saturday, November 21, 2020 @ 14:44:53
  Author: felixonmars
Revision: 758488

addpkg: haskell-fourmolu 0.3.0.0-1

Added:
  haskell-fourmolu/
  haskell-fourmolu/repos/
  haskell-fourmolu/trunk/
  haskell-fourmolu/trunk/PKGBUILD

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Added: haskell-fourmolu/trunk/PKGBUILD
===
--- haskell-fourmolu/trunk/PKGBUILD (rev 0)
+++ haskell-fourmolu/trunk/PKGBUILD 2020-11-21 14:44:53 UTC (rev 758488)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan 
+
+_hkgname=fourmolu
+pkgname=haskell-fourmolu
+pkgver=0.3.0.0
+pkgrel=1
+pkgdesc="A formatter for Haskell source code"
+url="https://github.com/parsonsmatt/fourmolu";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hsyaml' 'haskell-hsyaml-aeson' 'haskell-aeson' 
'haskell-dlist'
+ 'haskell-ghc' 'haskell-gitrev' 'haskell-optparse-applicative' 
'haskell-syb')
+makedepends=('ghc' 'uusi' 'haskell-hspec' 'haskell-hspec-discover' 
'haskell-path' 'haskell-path-io')
+source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('ba7201c78ee61665eaf1fce10cd297dd5383d36053cd3984e41a5094d96e096d')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi --all -rghc-lib-parser:ghc,ghc-boot,ghc-boot-th $_hkgname.cabal
+  sed -i 's/using ghc-lib-parser/using 
ghc/;s/VERSION_ghc_lib_parser/VERSION_ghc/' app/Main.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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie'
+
+  runhaskell Setup build
+  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
+}
+
+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.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+  rm -f "$pkgdir"/usr/share/doc/$pkgname/LICENSE.md
+}


[arch-commits] Commit in (4 files)

2020-11-20 Thread Antonio Rojas via arch-commits
Date: Friday, November 20, 2020 @ 13:10:10
  Author: arojas
Revision: 401545

Add qt6-translations

Added:
  qt6-translations/
  qt6-translations/kde-unstable/
  qt6-translations/kde-unstable/PKGBUILD
  qt6-translations/kde-unstable/src/

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Added: qt6-translations/kde-unstable/PKGBUILD
===
--- qt6-translations/kde-unstable/PKGBUILD  (rev 0)
+++ qt6-translations/kde-unstable/PKGBUILD  2020-11-20 13:10:10 UTC (rev 
401545)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas 
+# Maintainer: Felix Yan 
+# Contributor: Andrea Scarpino 
+
+pkgname=qt6-translations
+_qtver=6.0.0-beta5
+pkgver=${_qtver/-/}
+pkgrel=1
+arch=(any)
+url='https://www.qt.io'
+license=(GPL3 LGPL3 FDL custom)
+pkgdesc='A cross-platform application and UI framework (Translations)'
+depends=(qt6-base)
+makedepends=(cmake qt6-tools)
+groups=(qt6)
+_pkgfn="${pkgname/6-/}-everywhere-src-${_qtver}"
+source=("https://download.qt.io/development_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz";)
+sha256sums=('0389581fc0128dba983c8fda0deefa558eeea7b96a767ef3694860cae1cfb332')
+
+build() {
+  export PATH="/usr/lib/qt6/bin:$PATH"
+  cmake -B build -S $_pkgfn
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+
+  install -d "$pkgdir"/usr/share/licenses
+  ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname
+}


[arch-commits] Commit in (4 files)

2020-11-19 Thread Evangelos Foutras via arch-commits
Date: Friday, November 20, 2020 @ 01:14:44
  Author: foutrelis
Revision: 757865

Add python-re-assert for python-aiohttp

Added:
  python-re-assert/
  python-re-assert/repos/
  python-re-assert/trunk/
  python-re-assert/trunk/PKGBUILD

--+
 PKGBUILD |   33 +
 1 file changed, 33 insertions(+)

Added: python-re-assert/trunk/PKGBUILD
===
--- python-re-assert/trunk/PKGBUILD (rev 0)
+++ python-re-assert/trunk/PKGBUILD 2020-11-20 01:14:44 UTC (rev 757865)
@@ -0,0 +1,33 @@
+# Maintainer: Evangelos Foutras 
+
+pkgname=python-re-assert
+_name=${pkgname#python-}
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Provides a helper class to make assertions of regexes simpler"
+arch=('any')
+url="https://github.com/asottile/re-assert";
+license=('MIT')
+depends=('python' 'python-regex')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=($pkgname-$pkgver.tar.gz::https://github.com/asottile/re-assert/archive/v$pkgver.tar.gz)
+sha256sums=('01c4a849ed520923e4bab9afdf73b5f2698c4f92ad7f580ccb3f68ea79c69c0c')
+
+build() {
+  cd "$_name-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$_name-$pkgver"
+  pytest
+}
+
+package() {
+  cd "$_name-$pkgver"
+  python setup.py install --root="$pkgdir" -O1
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in (4 files)

2020-11-19 Thread Evangelos Foutras via arch-commits
Date: Thursday, November 19, 2020 @ 22:59:17
  Author: foutrelis
Revision: 757835

Add python-sphobjinv for sphinx-autodoc-typehints

Added:
  python-sphobjinv/
  python-sphobjinv/repos/
  python-sphobjinv/trunk/
  python-sphobjinv/trunk/PKGBUILD

--+
 PKGBUILD |   28 
 1 file changed, 28 insertions(+)

Added: python-sphobjinv/trunk/PKGBUILD
===
--- python-sphobjinv/trunk/PKGBUILD (rev 0)
+++ python-sphobjinv/trunk/PKGBUILD 2020-11-19 22:59:17 UTC (rev 757835)
@@ -0,0 +1,28 @@
+# Maintainer: Evangelos Foutras 
+
+pkgname=python-sphobjinv
+_name=${pkgname#python-}
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="Manipulate and inspect Sphinx objects.inv files"
+arch=('any')
+url="https://github.com/bskinn/sphobjinv";
+license=('MIT')
+depends=('python' 'python-attrs' 'python-certifi' 'python-fuzzywuzzy'
+ 'python-jsonschema')
+makedepends=('python-setuptools')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('fde7fc6391bb7b8dd274e0af0bd254ef0043c9552294c8dcf08a24464a7dd488')
+
+build() {
+  cd "$_name-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$_name-$pkgver"
+  python setup.py install --root="$pkgdir" -O1
+  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
+}
+
+# vim:set ts=2 sw=2 et:


[arch-commits] Commit in (4 files)

2020-11-16 Thread Jonas Witschel via arch-commits
Date: Monday, November 16, 2020 @ 18:36:04
  Author: diabonas
Revision: 755507

Add package python-oscrypto (dependency of python-python-pkcs11)

Added:
  python-oscrypto/
  python-oscrypto/repos/
  python-oscrypto/trunk/
  python-oscrypto/trunk/PKGBUILD

--+
 PKGBUILD |   28 
 1 file changed, 28 insertions(+)

Added: python-oscrypto/trunk/PKGBUILD
===
--- python-oscrypto/trunk/PKGBUILD  (rev 0)
+++ python-oscrypto/trunk/PKGBUILD  2020-11-16 18:36:04 UTC (rev 755507)
@@ -0,0 +1,28 @@
+# Maintainer: Jonas Witschel 
+pkgname=python-oscrypto
+pkgver=1.2.1
+pkgrel=2
+pkgdesc='Compiler-free Python crypto library backed by the OS'
+arch=('any')
+url='https://github.com/wbond/oscrypto'
+license=('MIT')
+depends=('python' 'python-asn1crypto')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('bf858f59bf6e54d1ac962df4b90eb674844e50f47b217d73d94b05e27280b78671dc04f4211276c04e71b48f92b446bc11f964b7223def24f5d0d878166547f3')
+
+build() {
+cd "${pkgname#python-}-$pkgver"
+python setup.py build
+}
+
+check() {
+   cd "${pkgname#python-}-$pkgver"
+   python setup.py test
+}
+
+package() {
+cd "${pkgname#python-}-$pkgver"
+python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}


[arch-commits] Commit in (4 files)

2020-11-15 Thread Andreas Radke via arch-commits
Date: Sunday, November 15, 2020 @ 20:34:41
  Author: andyrtr
Revision: 401239

initial commit - WIP

Added:
  ps-printer-app/
  ps-printer-app/repos/
  ps-printer-app/trunk/
  ps-printer-app/trunk/PKGBUILD

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Added: ps-printer-app/trunk/PKGBUILD
===
--- ps-printer-app/trunk/PKGBUILD   (rev 0)
+++ ps-printer-app/trunk/PKGBUILD   2020-11-15 20:34:41 UTC (rev 401239)
@@ -0,0 +1,57 @@
+# Maintainer: Andreas Radke 
+
+pkgname=ps-printer-app
+_commit=2e43897c2e5c3df378958d2fbbb975144ae49f1a # master 2020-11-15
+pkgver=0.r25.2e43897
+pkgrel=1
+epoch=
+pkgdesc="a Printer Application for PostScript printers that uses PAPPL to 
support IPP printing"
+arch=('x86_64')
+url="https://github.com/OpenPrinting/ps-printer-app";
+license=('Apache')
+groups=()
+depends=('pappl')
+makedepends=('git')
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+#source=("$pkgname-$pkgver.tar.gz"
+#"$pkgname-$pkgver.patch")
+source=("git+https://github.com/OpenPrinting/ps-printer-app#commit=$_commit";)
+noextract=()
+sha256sums=('SKIP')
+#validpgpkeys=()
+
+pkgver() {
+  cd $pkgname
+  #git describe --tags | sed 's/-/+/g' | sed 's/v//'
+  #git rev-list --count HEAD # = 25
+  printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short 
HEAD)" # 0.r25.2e43897
+}
+
+#prepare() {
+#  cd "$pkgname-$pkgver"
+#  patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
+#}
+
+build() {
+   cd "$pkgname" #-$pkgver"
+   # ./configure --prefix=/usr
+   make
+}
+
+check() {
+   cd "$pkgname" #-$pkgver"
+   make -k check
+}
+
+package() {
+   cd "$pkgname" #-$pkgver"
+   make DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in (4 files)

2020-11-14 Thread Antonio Rojas via arch-commits
Date: Saturday, November 14, 2020 @ 09:33:38
  Author: arojas
Revision: 401010

Cleanup dependencies

Modified:
  kmail-account-wizard/kde-unstable/PKGBUILD
  knotes/kde-unstable/PKGBUILD
  kontact/kde-unstable/PKGBUILD
  pimcommon/kde-unstable/PKGBUILD

+
 kmail-account-wizard/kde-unstable/PKGBUILD |2 +-
 knotes/kde-unstable/PKGBUILD   |2 +-
 kontact/kde-unstable/PKGBUILD  |2 +-
 pimcommon/kde-unstable/PKGBUILD|2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Modified: kmail-account-wizard/kde-unstable/PKGBUILD
===
--- kmail-account-wizard/kde-unstable/PKGBUILD  2020-11-14 09:27:37 UTC (rev 
401009)
+++ kmail-account-wizard/kde-unstable/PKGBUILD  2020-11-14 09:33:38 UTC (rev 
401010)
@@ -8,7 +8,7 @@
 arch=(x86_64)
 url="https://kontact.kde.org";
 license=(GPL2)
-depends=(kidentitymanagement libkleo pimcommon kmailtransport kross)
+depends=(kidentitymanagement pimcommon kmailtransport kross)
 makedepends=(extra-cmake-modules boost kdoctools qt5-tools knotifyconfig 
ktexteditor)
 groups=(kde-applications kdepim)
 
source=("https://download.kde.org/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})

Modified: knotes/kde-unstable/PKGBUILD
===
--- knotes/kde-unstable/PKGBUILD2020-11-14 09:27:37 UTC (rev 401009)
+++ knotes/kde-unstable/PKGBUILD2020-11-14 09:33:38 UTC (rev 401010)
@@ -8,7 +8,7 @@
 arch=(x86_64)
 url="https://kontact.kde.org";
 license=(GPL2)
-depends=(kdepim-runtime kdnssd kontactinterface grantleetheme)
+depends=(kdepim-runtime kdnssd kontactinterface)
 makedepends=(extra-cmake-modules kdoctools boost)
 groups=(kde-applications kdepim)
 
source=("https://download.kde.org/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})

Modified: kontact/kde-unstable/PKGBUILD
===
--- kontact/kde-unstable/PKGBUILD   2020-11-14 09:27:37 UTC (rev 401009)
+++ kontact/kde-unstable/PKGBUILD   2020-11-14 09:33:38 UTC (rev 401010)
@@ -8,7 +8,7 @@
 arch=(x86_64)
 url="https://kontact.kde.org";
 license=(GPL2)
-depends=(kontactinterface kmail-account-wizard grantleetheme)
+depends=(kontactinterface kmail-account-wizard)
 makedepends=(extra-cmake-modules kdoctools boost)
 groups=(kde-applications kdepim)
 
source=("https://download.kde.org/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})

Modified: pimcommon/kde-unstable/PKGBUILD
===
--- pimcommon/kde-unstable/PKGBUILD 2020-11-14 09:27:37 UTC (rev 401009)
+++ pimcommon/kde-unstable/PKGBUILD 2020-11-14 09:33:38 UTC (rev 401010)
@@ -7,7 +7,7 @@
 arch=(x86_64)
 url="https://kontact.kde.org";
 license=(LGPL)
-depends=(libkdepim kpimtextedit knewstuff kimap kldap akonadi-contacts 
akonadi-search purpose)
+depends=(libkdepim kimap kldap akonadi-contacts akonadi-search purpose)
 makedepends=(extra-cmake-modules boost qt5-tools)
 
source=("https://download.kde.org/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
 sha256sums=('6c28d12e733569be249aca7371a356606e53297c8959a050c8a7ceeeaa9ca747'


[arch-commits] Commit in (4 files)

2020-11-13 Thread Antonio Rojas via arch-commits
Date: Friday, November 13, 2020 @ 17:39:07
  Author: arojas
Revision: 400757

community2extra: Moving partitionmanager from community to extra

Added:
  partitionmanager/
  partitionmanager/repos/
  partitionmanager/trunk/
  partitionmanager/trunk/PKGBUILD

--+
 PKGBUILD |   27 +++
 1 file changed, 27 insertions(+)

Added: partitionmanager/trunk/PKGBUILD
===
--- partitionmanager/trunk/PKGBUILD (rev 0)
+++ partitionmanager/trunk/PKGBUILD 2020-11-13 17:39:07 UTC (rev 400757)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas 
+# Contributor: Tobias Powalowski 
+# Contributor: Nick B 
+
+pkgname=partitionmanager
+pkgver=4.2.0
+pkgrel=1
+pkgdesc="A KDE utility that allows you to manage disks, partitions, and file 
systems"
+arch=(x86_64)
+url="https://kde.org/applications/system/org.kde.partitionmanager";
+license=(GPL2)
+depends=(kpmcore hicolor-icon-theme kio)
+makedepends=(extra-cmake-modules kdoctools)
+source=("https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('e9096dd5ce3b11e93a4e45960734f2059609d637e1b70b02f57e6ae61e8884f8'
+'SKIP')
+validpgpkeys=(1EE5A3205904BAA2B88C0A9D24FD31940095C0E1) # Andrius Štikonas 

+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+-DBUILD_TESTING=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}


[arch-commits] Commit in (4 files)

2020-11-12 Thread Christian Rebischke via arch-commits
Date: Thursday, November 12, 2020 @ 19:51:00
  Author: shibumi
Revision: 753649

add operator-sdk

Added:
  operator-sdk/
  operator-sdk/repos/
  operator-sdk/trunk/
  operator-sdk/trunk/PKGBUILD

--+
 PKGBUILD |   44 
 1 file changed, 44 insertions(+)

Added: operator-sdk/trunk/PKGBUILD
===
--- operator-sdk/trunk/PKGBUILD (rev 0)
+++ operator-sdk/trunk/PKGBUILD 2020-11-12 19:51:00 UTC (rev 753649)
@@ -0,0 +1,44 @@
+# Maintainer: Christian Rebischke 
+
+pkgname=operator-sdk
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="SDK for building Kubernetes applications"
+arch=('x86_64')
+url="https://github.com/operator-framework/operator-sdk";
+license=('Apache')
+makedepends=('go')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/operator-framework/operator-sdk/archive/v${pkgver}.tar.gz";)
+sha512sums=('eed8e0eb70a78b78fd14802857d46cdb7ccc35e645f613c0af8702c76b4659adc47878ce45dfba0d051fcf3a3eacbb54769ea4dc06d0d83c7cf3f9a0b9d3fc73')
+
+prepare() {
+  export GOPATH="${srcdir}"
+  mkdir -p src/github.com/operator-framework "${GOPATH}/bin"
+  mv "${pkgname}-${pkgver}" "src/github.com/operator-framework/${pkgname}"
+  export PACKAGE_ROOT="${GOPATH}/src/github.com/operator-framework/${pkgname}"
+}
+
+build() {
+  cd "${PACKAGE_ROOT}"
+  export CGO_ENABLED=1
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+  export GOLDFLAGS="-linkmode=external"
+  go build -v ./cmd/{operator-sdk,ansible-operator,helm-operator}
+}
+
+check() {
+  cd "${PACKAGE_ROOT}"
+  go test -v ./...
+}
+
+package() {
+  cd "${PACKAGE_ROOT}/cmd/"
+  install -Dsm755 ./operator-sdk "${pkgdir}/usr/bin/operator-sdk"
+  install -Dsm755 ./ansible-operator "${pkgdir}/usr/bin/ansible-operator"
+  install -Dsm755 ./helm-operator "${pkgdir}/usr/bin/helm-operator"
+}


[arch-commits] Commit in (4 files)

2020-11-11 Thread Felix Yan via arch-commits
Date: Wednesday, November 11, 2020 @ 22:50:12
  Author: felixonmars
Revision: 751274

addpkg: haskell-mysql-simple 0.4.5-1

Added:
  haskell-mysql-simple/
  haskell-mysql-simple/repos/
  haskell-mysql-simple/trunk/
  haskell-mysql-simple/trunk/PKGBUILD

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Added: haskell-mysql-simple/trunk/PKGBUILD
===
--- haskell-mysql-simple/trunk/PKGBUILD (rev 0)
+++ haskell-mysql-simple/trunk/PKGBUILD 2020-11-11 22:50:12 UTC (rev 751274)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mysql-simple
+pkgname=haskell-mysql-simple
+pkgver=0.4.5
+pkgrel=1
+pkgdesc="A mid-level MySQL client library"
+url="https://github.com/paul-rouse/mysql-simple";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base16-bytestring' 
'haskell-blaze-builder'
+ 'haskell-blaze-textual' 'haskell-mysql' 'haskell-old-locale' 
'haskell-pcre-light')
+makedepends=('ghc' 'haskell-hspec')
+checkdepends=('mariadb')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('b03c422ed8a62fa7f98b62634a06da8454980c6a733e275020ca7cedbb6e7cb1')
+
+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
+  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
+  mkdir -p /tmp/mysql_test
+  mysql_install_db --datadir=/tmp/mysql_test
+  mysqld --datadir=/tmp/mysql_test --socket=/tmp/socket.mysql 
--skip-grant-tables &
+  MYSQL_PID=$!
+  sleep 5
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS test;"
+
+  runhaskell Setup test
+
+  kill $MYSQL_PID
+}
+
+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 (4 files)

2020-11-11 Thread Felix Yan via arch-commits
Date: Wednesday, November 11, 2020 @ 22:23:41
  Author: felixonmars
Revision: 751268

addpkg: haskell-mysql 0.1.7.2-1

Added:
  haskell-mysql/
  haskell-mysql/repos/
  haskell-mysql/trunk/
  haskell-mysql/trunk/PKGBUILD

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Added: haskell-mysql/trunk/PKGBUILD
===
--- haskell-mysql/trunk/PKGBUILD(rev 0)
+++ haskell-mysql/trunk/PKGBUILD2020-11-11 22:23:41 UTC (rev 751268)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan 
+
+_hkgname=mysql
+pkgname=haskell-mysql
+pkgver=0.1.7.2
+pkgrel=1
+pkgdesc="A low-level MySQL client library"
+url="https://github.com/paul-rouse/mysql";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'mariadb-libs')
+makedepends=('ghc' 'haskell-hspec')
+checkdepends=('mariadb')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('164cf43e8c9fbe709cfdba0282922358c9b5d46400550ce7e31896d2611a6c6e')
+
+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
+  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
+  mkdir -p /tmp/mysql_test
+  mysql_install_db --datadir=/tmp/mysql_test
+  mysqld --datadir=/tmp/mysql_test --socket=/tmp/socket.mysql 
--skip-grant-tables &
+  MYSQL_PID=$!
+  sleep 5
+  mysql -h 127.0.0.1 -u root -e "create database IF NOT EXISTS test;"
+
+  runhaskell Setup test
+
+  kill $MYSQL_PID
+}
+
+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 (4 files)

2020-11-11 Thread Felix Yan via arch-commits
Date: Wednesday, November 11, 2020 @ 21:50:28
  Author: felixonmars
Revision: 751256

addpkg: haskell-blaze-textual 0.2.1.0-1

Added:
  haskell-blaze-textual/
  haskell-blaze-textual/repos/
  haskell-blaze-textual/trunk/
  haskell-blaze-textual/trunk/PKGBUILD

--+
 PKGBUILD |   46 ++
 1 file changed, 46 insertions(+)

Added: haskell-blaze-textual/trunk/PKGBUILD
===
--- haskell-blaze-textual/trunk/PKGBUILD(rev 0)
+++ haskell-blaze-textual/trunk/PKGBUILD2020-11-11 21:50:28 UTC (rev 
751256)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan 
+
+_hkgname=blaze-textual
+pkgname=haskell-blaze-textual
+pkgver=0.2.1.0
+pkgrel=1
+pkgdesc="Fast rendering of common datatypes"
+url="http://github.com/bos/blaze-textual";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-blaze-builder' 'haskell-vector')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-double-conversion' 
'haskell-test-framework'
+ 'haskell-test-framework-quickcheck2')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('1042795ab0bab891c034c24a51bafecbb89870ccd28af39534ab3d9ae7f46c2d')
+
+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
+  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
+}
+
+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 (4 files)

2020-11-09 Thread Jiachen Yang via arch-commits
Date: Tuesday, November 10, 2020 @ 03:49:45
  Author: farseerfc
Revision: 748283

add fcitx5-mozc

Added:
  fcitx5-mozc/
  fcitx5-mozc/repos/
  fcitx5-mozc/trunk/
  fcitx5-mozc/trunk/PKGBUILD

--+
 PKGBUILD |  132 +
 1 file changed, 132 insertions(+)

Added: fcitx5-mozc/trunk/PKGBUILD
===
--- fcitx5-mozc/trunk/PKGBUILD  (rev 0)
+++ fcitx5-mozc/trunk/PKGBUILD  2020-11-10 03:49:45 UTC (rev 748283)
@@ -0,0 +1,132 @@
+# $Id$
+# Maintainer: Jiachen Yang 
+# Contributor: Felix Yan 
+# Contributor: ponsfoot 
+# Contributor: UTUMI Hirosi 
+
+## Mozc compile option
+_bldtype=Release
+_mozc_commit=a79768d
+_japanese_usage_dictionary_commit=a4a6677
+_breakpad_commit=78180df
+_gtest_commit=fbef071
+_gyp_commit=caa6002
+_jsoncpp_commit=8954092
+_protobuf_commit=87f1d9e
+_zinnia_commit=581faa8
+_abseil_cpp_commit=a479881
+
+
+
+_zipcode_rel=201810
+
+_pkgbase=mozc
+pkgname=fcitx5-mozc
+pkgdesc="Fcitx5 Module of A Japanese Input Method for Chromium OS, Windows, 
Mac and Linux (the Open Source Edition of Google Japanese Input)"
+pkgver=2.25.4150.102+0.0.0.20201110
+pkgrel=1
+arch=('x86_64')
+url="https://github.com/google/mozc";
+license=('custom')
+depends=('qt5-base' 'fcitx5')
+makedepends=('pkg-config' 'python' 'curl' 'gtk2' 'mesa' 'subversion' 'ninja' 
'git' 'clang' 'python-six')
+replaces=('mozc-fcitx')
+conflicts=('mozc' 'mozc-server' 'mozc-utils-gui' 'mozc-fcitx' 'fcitx-mozc')
+source=(git+https://github.com/fcitx/mozc.git#commit=${_mozc_commit}
+
https://downloads.sourceforge.net/pnsft-aur/x-ken-all-${_zipcode_rel}.zip
+
https://downloads.sourceforge.net/pnsft-aur/jigyosyo-${_zipcode_rel}.zip
+https://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-icon.tar.gz
+
git+https://chromium.googlesource.com/breakpad/breakpad#commit=${_breakpad_commit}
+git+https://github.com/google/googletest.git#commit=${_gtest_commit}
+
git+https://chromium.googlesource.com/external/gyp#commit=${_gyp_commit}
+
git+https://github.com/hiroyuki-komatsu/japanese-usage-dictionary.git#commit=${_japanese_usage_dictionary_commit}
+
git+https://github.com/open-source-parsers/jsoncpp.git#commit=${_jsoncpp_commit}
+git+https://github.com/google/protobuf.git#commit=${_protobuf_commit}
+git+https://github.com/taku910/zinnia.git#commit=${_zinnia_commit}
+
git+https://github.com/abseil/abseil-cpp.git#commit=${_abseil_cpp_commit}
+   )
+sha512sums=('SKIP'
+
'59d0a5e62c698ebc64008f1fb2ed68ebbbd7798d9d95f2e4852261fb09d53e9f8c102f385ed8f2001e3da6c2a0a50d64f1f20e70671948b492f972c487655efe'
+
'daf41f63bd1afc0937beb12aa007ead8a239fabc3af2237e4adf75238b0e0e520f6051f5a98d413a541f901e17a1488eb3fad6d0bba1f1561987365236d64146'
+
'5507c637e5a65c44ccf6e32118b6d16647ece865171b9a77dd3c78e6790fbd97e6b219e68d2e27750e22074eb536bccf8d553c295d939066b72994b86b2f251a'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP'
+'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9')  # Weng Xuetian
+
+prepare() {
+  cd "$srcdir/mozc"
+  git submodule init
+  git config submodule.src/third_party/breakpad.url "$srcdir/breakpad"
+  git config submodule.src/third_party/gtest.url "$srcdir/googletest"
+  git config submodule.src/third_party/gyp.url "$srcdir/gyp"
+  git config submodule.src/third_party/japanese_usage_dictionary.url 
"$srcdir/japanese-usage-dictionary"
+  git config submodule.src/third_party/jsoncpp.url "$srcdir/jsoncpp"
+  git config submodule.src/third_party/protobuf.url "$srcdir/protobuf"
+  git config submodule.src/third_party/zinnia.url "$srcdir/zinnia"
+  git config submodule.src/third_party/abseil-cpp.url "$srcdir/abseil-cpp"
+  git submodule update
+
+  cd src
+  # Generate zip code seed
+  echo "Generating zip code seed..."
+  PYTHONPATH="$PWD:$PYTHONPATH" python dictionary/gen_zip_code_seed.py 
--zip_code="${srcdir}/x-ken-all.csv" --jigyosyo="${srcdir}/JIGYOSYO.CSV" >> 
data/dictionary_oss/dictionary09.txt
+  echo "Done."
+
+  # disable fcitx4 target
+  rm unix/fcitx/fcitx.gyp
+  
+  # fix mozc icon for kimpanel
+  sed -i "s|PREFIX|/usr|" unix/fcitx5/mozc.conf
+
+  ## use libstdc++ instead of libc++
+  sed "/stdlib=libc++/d;/-lc++/d" -i gyp/common.gypi
+}
+
+build() {
+  # Fix compatibility with google-glog 0.3.3 (symbol conflict)
+  CFLAGS="${CFLAGS} -fvisibility=hidden"
+  CXXFLAGS="${CXXFLAGS} -fvisibility=hidden"
+
+  cd mozc/src
+
+  _targets="server/server.gyp:mozc_server gui/gui.gyp:mozc_tool 
unix/fcitx5/fcitx5.gyp:fcitx5-mozc"
+
+  QTDIR=/usr GYP_DEFINES="document_dir=/usr/share/licenses/$pkgname 
use_libzinnia=1" python build_mozc.py gyp
+  python build_mozc.py build -c $_bldtype $_targets
+
+  # Extract license part of mozc
+  head -n 29 server/mozc_server.cc > LIC

[arch-commits] Commit in (4 files)

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 20:56:00
  Author: felixonmars
Revision: 748244

addpkg: haskell-scotty 0.12-1

Added:
  haskell-scotty/
  haskell-scotty/repos/
  haskell-scotty/trunk/
  haskell-scotty/trunk/PKGBUILD

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Added: haskell-scotty/trunk/PKGBUILD
===
--- haskell-scotty/trunk/PKGBUILD   (rev 0)
+++ haskell-scotty/trunk/PKGBUILD   2020-11-09 20:56:00 UTC (rev 748244)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+_hkgname=scotty
+pkgname=haskell-scotty
+pkgver=0.12
+pkgrel=1
+pkgdesc="Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp"
+url="https://github.com/scotty-web/scotty";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-base-compat-batteries' 
'haskell-blaze-builder'
+ 'haskell-case-insensitive' 'haskell-data-default-class' 
'haskell-http-types'
+ 'haskell-monad-control' 'haskell-network' 'haskell-regex-compat'
+ 'haskell-transformers-base' 'haskell-transformers-compat' 
'haskell-wai' 'haskell-wai-extra'
+ 'haskell-warp')
+makedepends=('ghc' 'uusi' 'haskell-async' 'haskell-hspec' 
'haskell-hspec-discover' 'haskell-hspec-wai'
+ 'haskell-lifted-base')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('e1d77ee05eaa4b1871566b33683da9ab15dda8f7c42875701d62caf7db7defd2')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  sed -i '/nats/d;/fail/d' $_hkgname.cabal
+  uusi $_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
+  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
+}
+
+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 (4 files)

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 20:50:11
  Author: felixonmars
Revision: 748242

addpkg: haskell-tasty-kat 0.0.3-1

Added:
  haskell-tasty-kat/
  haskell-tasty-kat/repos/
  haskell-tasty-kat/trunk/
  haskell-tasty-kat/trunk/PKGBUILD

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Added: haskell-tasty-kat/trunk/PKGBUILD
===
--- haskell-tasty-kat/trunk/PKGBUILD(rev 0)
+++ haskell-tasty-kat/trunk/PKGBUILD2020-11-09 20:50:11 UTC (rev 748242)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan 
+
+_hkgname=tasty-kat
+pkgname=haskell-tasty-kat
+pkgver=0.0.3
+pkgrel=1
+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
+  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
+}
+
+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 (4 files)

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 20:28:46
  Author: felixonmars
Revision: 748212

addpkg: pkg: haskell-hspec-expectations-lifted 0.10.0-1

Added:
  haskell-hspec-expectations-lifted/
  haskell-hspec-expectations-lifted/repos/
  haskell-hspec-expectations-lifted/trunk/
  haskell-hspec-expectations-lifted/trunk/PKGBUILD

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Added: haskell-hspec-expectations-lifted/trunk/PKGBUILD
===
--- haskell-hspec-expectations-lifted/trunk/PKGBUILD
(rev 0)
+++ haskell-hspec-expectations-lifted/trunk/PKGBUILD2020-11-09 20:28:46 UTC 
(rev 748212)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan 
+
+_hkgname=hspec-expectations-lifted
+pkgname=haskell-hspec-expectations-lifted
+pkgver=0.10.0
+pkgrel=1
+pkgdesc="A version of hspec-expectations generalized to MonadIO"
+url="https://github.com/hspec/hspec-expectations-lifted";
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-hspec-expectations')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('22cdf1509b396fea2f53a0bb88dec3552f540d58cc60962a82970264c1e73828')
+
+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
+  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 (4 files)

2020-11-08 Thread Kpcyrd via arch-commits
Date: Sunday, November 8, 2020 @ 20:53:58
  Author: kpcyrd
Revision: 746728

addpkg: cargo-release 0.13.8-2

Added:
  cargo-release/
  cargo-release/repos/
  cargo-release/trunk/
  cargo-release/trunk/PKGBUILD

--+
 PKGBUILD |   26 ++
 1 file changed, 26 insertions(+)

Added: cargo-release/trunk/PKGBUILD
===
--- cargo-release/trunk/PKGBUILD(rev 0)
+++ cargo-release/trunk/PKGBUILD2020-11-08 20:53:58 UTC (rev 746728)
@@ -0,0 +1,26 @@
+# Maintainer: kpcyrd 
+
+pkgname=cargo-release
+pkgver=0.13.8
+pkgrel=2
+pkgdesc='Cargo subcommand "release": everything about releasing a rust crate'
+url='https://github.com/sunng87/cargo-release'
+arch=('x86_64')
+license=('MIT' 'APACHE')
+depends=('openssl' 'zlib')
+makedepends=('cargo')
+source=(https://github.com/sunng87/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+b2sums=('0dc3f2177920d12bda2ab209340960aa13ae2e20a113ffabf671f9d5bc274dbbb5ba5e93c8e82c0c5cb478dcb507b8f61e68af43cf8f893514d198ae51489a16')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  cargo build --release --locked
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 target/release/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+  install -Dm 644 LICENSE-MIT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in (4 files)

2020-11-06 Thread Daniel M. Capella via arch-commits
Date: Friday, November 6, 2020 @ 21:23:58
  Author: polyzen
Revision: 744605

Initial commit

Added:
  efm-langserver/
  efm-langserver/repos/
  efm-langserver/trunk/
  efm-langserver/trunk/PKGBUILD

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Added: efm-langserver/trunk/PKGBUILD
===
--- efm-langserver/trunk/PKGBUILD   (rev 0)
+++ efm-langserver/trunk/PKGBUILD   2020-11-06 21:23:58 UTC (rev 744605)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel M. Capella 
+# Contributor: dianlujitao 
+
+pkgname=efm-langserver
+pkgver=0.0.22
+pkgrel=2
+pkgdesc='General purpose Language Server'
+arch=('x86_64')
+url=https://github.com/mattn/efm-langserver
+license=('MIT')
+depends=('glibc')
+makedepends=('go')
+optdepends=('ctags: for "go to definition" requests')
+source=("$url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
+b2sums=('5f29002c3fd80a759102201fac9e973dfe134cab53c96ace10b8a6d06dd690141b0f2e867174a634492c3c5eb87c2f389393a13ced4cb87d1c3781b58b946740')
+
+build() {
+  cd $pkgname-$pkgver
+  export CGO_CPPFLAGS="$CPPFLAGS"
+  export CGO_CFLAGS="$CFLAGS"
+  export CGO_CXXFLAGS="$CXXFLAGS"
+  export CGO_LDFLAGS="$LDFLAGS"
+  export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external 
-mod=readonly -modcacherw"
+  go build .
+}
+
+check() {
+  cd $pkgname-$pkgver
+  go test -v ./...
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dt "$pkgdir"/usr/bin efm-langserver
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname README.md # Only 
mention of license
+}


[arch-commits] Commit in (4 files)

2020-11-03 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 09:44:12
  Author: felixonmars
Revision: 740495

addpkg: fcitx5-table-other 5.0.0-1

Added:
  fcitx5-table-other/
  fcitx5-table-other/repos/
  fcitx5-table-other/trunk/
  fcitx5-table-other/trunk/PKGBUILD

--+
 PKGBUILD |   28 
 1 file changed, 28 insertions(+)

Added: fcitx5-table-other/trunk/PKGBUILD
===
--- fcitx5-table-other/trunk/PKGBUILD   (rev 0)
+++ fcitx5-table-other/trunk/PKGBUILD   2020-11-03 09:44:12 UTC (rev 740495)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan 
+# Contributor: csslayer 
+
+pkgname=fcitx5-table-other
+pkgver=5.0.0
+pkgrel=1
+pkgdesc="Other tables for Fcitx5"
+arch=('any')
+url="https://github.com/fcitx/fcitx5-table-other";
+license=('GPL')
+depends=('fcitx5-chinese-addons')
+makedepends=('extra-cmake-modules' 'boost')
+source=("https://download.fcitx-im.org/fcitx5/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+sha512sums=('0c8f5131acfe1d1afba748d41c6d5c9e684b06d3c0ea2f33666e06d47752b4003b3bc2d72b9644ce5894da8337fe4b1c2341917716e7caa08277b0258ef8ea6e'
+'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian 

+
+build(){
+  cd $pkgname-$pkgver
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in (4 files)

2020-11-03 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 09:31:09
  Author: felixonmars
Revision: 740489

addpkg: fcitx5-table-extra 5.0.0-1

Added:
  fcitx5-table-extra/
  fcitx5-table-extra/repos/
  fcitx5-table-extra/trunk/
  fcitx5-table-extra/trunk/PKGBUILD

--+
 PKGBUILD |   28 
 1 file changed, 28 insertions(+)

Added: fcitx5-table-extra/trunk/PKGBUILD
===
--- fcitx5-table-extra/trunk/PKGBUILD   (rev 0)
+++ fcitx5-table-extra/trunk/PKGBUILD   2020-11-03 09:31:09 UTC (rev 740489)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan 
+# Contributor: csslayer 
+
+pkgname=fcitx5-table-extra
+pkgver=5.0.0
+pkgrel=1
+pkgdesc="Extra tables for Fcitx5"
+arch=('any')
+url="https://github.com/fcitx/fcitx5-table-extra";
+license=('GPL')
+depends=('fcitx5-chinese-addons')
+makedepends=('extra-cmake-modules' 'boost')
+source=("https://download.fcitx-im.org/fcitx5/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+sha512sums=('3f288c0ad54798a28cc03e1025bc1ac9a873bbe13479c8cae040bb03854211ea5e658762d0c4c1badb027047c577e01a49b34e5bd13e8b5c0c362a218d32e16d'
+'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian 

+
+build(){
+  cd $pkgname-$pkgver
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in (4 files)

2020-11-03 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 09:21:55
  Author: felixonmars
Revision: 740477

addpkg: fcitx5-sayura 5.0.0-1

Added:
  fcitx5-sayura/
  fcitx5-sayura/repos/
  fcitx5-sayura/trunk/
  fcitx5-sayura/trunk/PKGBUILD

--+
 PKGBUILD |   28 
 1 file changed, 28 insertions(+)

Added: fcitx5-sayura/trunk/PKGBUILD
===
--- fcitx5-sayura/trunk/PKGBUILD(rev 0)
+++ fcitx5-sayura/trunk/PKGBUILD2020-11-03 09:21:55 UTC (rev 740477)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan 
+# Contributor: csslayer 
+
+pkgname=fcitx5-sayura
+pkgver=5.0.0
+pkgrel=1
+pkgdesc="Sinhala Transe IME engine for Fcitx5"
+arch=('x86_64')
+url="https://github.com/fcitx/fcitx5-sayura";
+license=('GPL')
+depends=('fcitx5')
+makedepends=('extra-cmake-modules')
+source=("https://download.fcitx-im.org/fcitx5/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+sha512sums=('cf271769100ba2b40c3c3ff904a5e5b8b148912bd504991ab2348e9ada82354e1b3c13c756a1b89f530ccdac6a429d9feb9fe0bb883639f988202388005e0902'
+'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian 

+
+build(){
+  cd $pkgname-$pkgver
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in (4 files)

2020-11-03 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 09:10:00
  Author: felixonmars
Revision: 740467

addpkg: fcitx5-libthai 5.0.0-1

Added:
  fcitx5-libthai/
  fcitx5-libthai/repos/
  fcitx5-libthai/trunk/
  fcitx5-libthai/trunk/PKGBUILD

--+
 PKGBUILD |   28 
 1 file changed, 28 insertions(+)

Added: fcitx5-libthai/trunk/PKGBUILD
===
--- fcitx5-libthai/trunk/PKGBUILD   (rev 0)
+++ fcitx5-libthai/trunk/PKGBUILD   2020-11-03 09:10:00 UTC (rev 740467)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan 
+# Contributor: csslayer 
+
+pkgname=fcitx5-libthai
+pkgver=5.0.0
+pkgrel=1
+pkgdesc="Libthai Wrapper for Fcitx5"
+arch=('x86_64')
+url="https://github.com/fcitx/fcitx5-libthai";
+license=('GPL')
+depends=('fcitx5' 'libthai')
+makedepends=('extra-cmake-modules' 'ninja')
+source=("https://download.fcitx-im.org/fcitx5/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+sha512sums=('2a6c2370909e574db2bed70ca919721df339e54d994244e9e812dede3b7a97ca230160415b069ea82c45a4892aa2041c9cbeb53bf8e17e2aae5f470d452f1306'
+'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian 

+
+build(){
+  cd $pkgname-$pkgver
+
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+  ninja
+}
+
+package() {
+  cd $pkgname-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}


[arch-commits] Commit in (4 files)

2020-11-03 Thread Felix Yan via arch-commits
Date: Tuesday, November 3, 2020 @ 09:09:27
  Author: felixonmars
Revision: 740465

addpkg: fcitx5-kkc 5.0.0-1

Added:
  fcitx5-kkc/
  fcitx5-kkc/repos/
  fcitx5-kkc/trunk/
  fcitx5-kkc/trunk/PKGBUILD

--+
 PKGBUILD |   28 
 1 file changed, 28 insertions(+)

Added: fcitx5-kkc/trunk/PKGBUILD
===
--- fcitx5-kkc/trunk/PKGBUILD   (rev 0)
+++ fcitx5-kkc/trunk/PKGBUILD   2020-11-03 09:09:27 UTC (rev 740465)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan 
+# Contributor: csslayer 
+
+pkgname=fcitx5-kkc
+pkgver=5.0.0
+pkgrel=1
+pkgdesc="KKC Wrapper for Fcitx5"
+arch=('x86_64')
+url="https://github.com/fcitx/fcitx5-kkc";
+license=('GPL')
+depends=('fcitx5-qt' 'libkkc')
+makedepends=('extra-cmake-modules')
+source=("https://download.fcitx-im.org/fcitx5/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+sha512sums=('0c21e1cbea594e601a37c53bcaeff2e062ad8d1882ec7421908123c02adc42c81a8a09f1e8dd9918e2227394cd632c4de4bf4e6e21baa76275038c65328eb870'
+'SKIP')
+validpgpkeys=('2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9') # Weng Xuetian 

+
+build(){
+  cd $pkgname-$pkgver
+
+  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib .
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}


[arch-commits] Commit in (4 files)

2020-10-31 Thread David Runge via arch-commits
Date: Saturday, October 31, 2020 @ 13:43:37
  Author: dvzrv
Revision: 737657

Add python-pynitrokey.

Added:
  python-pynitrokey/
  python-pynitrokey/repos/
  python-pynitrokey/trunk/
  python-pynitrokey/trunk/PKGBUILD

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Added: python-pynitrokey/trunk/PKGBUILD
===
--- python-pynitrokey/trunk/PKGBUILD(rev 0)
+++ python-pynitrokey/trunk/PKGBUILD2020-10-31 13:43:37 UTC (rev 737657)
@@ -0,0 +1,36 @@
+# Maintainer: David Runge 
+
+_name=pynitrokey
+pkgname=python-pynitrokey
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="A command line interface for the Nitrokey FIDO2 and Nitrokey Start"
+arch=('any')
+url="https://github.com/Nitrokey/pynitrokey/releases";
+license=('Apache')
+depends=('python-cbor' 'python-cffi' 'python-click' 'python-cryptography'
+'python-ecdsa' 'python-fido2' 'python-intelhex' 'python-pyserial'
+'python-pyusb' 'python-requests' 'python-pygments')
+makedepends=('python-dephell' 'python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";)
+sha512sums=('37084fca7281079bd211212f1b4ddae2c3262f100afa923991113f0d8fb3347fe566ec2c4d104f29e9d5440b1a52a9d862159b3f6fc23c6a5f6d47a3f24ac661')
+b2sums=('bc5e6244eda668b36767a759d4185cfaa86d9dc08943694ba77c12a546c468178ce63a83fabf0d995c7a0b3b0496c4711050adee3e162458c35005aa4ffd3e3e')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+  --optimize=1 \
+  --root="${pkgdir}"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}


[arch-commits] Commit in (4 files)

2020-10-31 Thread Bruno Pagani via arch-commits
Date: Saturday, October 31, 2020 @ 13:23:52
  Author: archange
Revision: 737650

Initial addition of python-pytest-mpi to [community]

Added:
  python-pytest-mpi/
  python-pytest-mpi/repos/
  python-pytest-mpi/trunk/
  python-pytest-mpi/trunk/PKGBUILD

--+
 PKGBUILD |   40 
 1 file changed, 40 insertions(+)

Added: python-pytest-mpi/trunk/PKGBUILD
===
--- python-pytest-mpi/trunk/PKGBUILD(rev 0)
+++ python-pytest-mpi/trunk/PKGBUILD2020-10-31 13:23:52 UTC (rev 737650)
@@ -0,0 +1,40 @@
+# Maintainer: Bruno Pagani 
+
+_pkg=pytest-mpi
+pkgname=python-${_pkg}
+pkgver=0.4
+pkgrel=1
+pkgdesc="pytest plugin for working with MPI"
+arch=(any)
+url="https://pytest-mpi.readthedocs.io/";
+license=(BSD)
+depends=(python-pytest)
+makedepends=(python-setuptools)
+checkdepends=(openmpi python-mpi4py python-sybil)
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+#
pytest-mpi-pytest-6.patch::https://patch-diff.githubusercontent.com/raw/aragilar/pytest-mpi/pull/12.patch)
+#source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('8879c82a9e837bdb49a1675858a13ef22e61e379c983fd37491f876c299b8b31')
+#
'0803b5c675206dd36056bcd91dfbd234f4147afe76cf6dd124e36ec358c49557')
+
+#prepare() {
+#  cd ${_pkg}-${pkgver}
+#  patch -Np1 -i ../pytest-mpi-pytest-6.patch
+#}
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+# Errors everywhere, similar to 
https://github.com/browsertron/pytest-parallel/issues/62
+#check() {
+#  cd ${_pkg}-${pkgver}
+#  pytest tests -p pytester --runpytest=subprocess
+#}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build 
--optimize=1
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in (4 files)

2020-10-30 Thread Frederik Schwan via arch-commits
Date: Friday, October 30, 2020 @ 17:58:28
  Author: freswa
Revision: 736884

move imapsync from unsupported to [community]

Added:
  imapsync/
  imapsync/repos/
  imapsync/trunk/
  imapsync/trunk/PKGBUILD

--+
 PKGBUILD |   37 +
 1 file changed, 37 insertions(+)

Added: imapsync/trunk/PKGBUILD
===
--- imapsync/trunk/PKGBUILD (rev 0)
+++ imapsync/trunk/PKGBUILD 2020-10-30 17:58:28 UTC (rev 736884)
@@ -0,0 +1,37 @@
+# Maintainer: Frederik Schwan 
+
+pkgname=imapsync
+pkgver=1.945
+pkgrel=2
+pkgdesc='IMAP synchronisation, sync, copy or migration tool'
+arch=('any')
+url='https://github.com/imapsync/imapsync'
+license=('custom:imapsync')
+depends=('perl-cgi' 'perl-crypt-openssl-rsa' 'perl-data-uniqid' 
'perl-date-manip'
+'perl-file-copy-recursive' 'perl-file-tail' 'perl-html-parser' 
'perl-io-socket-inet6'
+'perl-io-socket-ssl' 'perl-io-tee' 'perl-json-webtoken' 'perl-libwww' 
'perl-module-scandeps'
+'perl-mail-imapclient' 'perl-module-runtime' 'perl-ntlm' 
'perl-package-stash'
+'perl-readonly' 'perl-regexp-common' 'perl-sys-meminfo'
+'perl-term-readkey' 'perl-unicode-string')
+makedepends=('cpanminus' 'perl-par-packer')
+checkdepends=('inetutils' 'lsb-release' 'time' 'procps-ng' 'perl-test-deep' 
'perl-test-fatal'
+  'perl-test-mock-guard' 'perl-test-mockobject' 'perl-test-pod' 
'perl-test-requires'
+  'perl-test-warn')
+source=("https://github.com/imapsync/imapsync/archive/${pkgname}-${pkgver}.tar.gz";)
+b2sums=('98ef55135239ed9625fdce9e8944c2f7a8c8c1b1020c383bbda4f3e18a486b5b691e22faaa896b21e897babb04954d548ff65bf04e79db719a1e8636f0e5e3fd')
+
+build() {
+  cd ${pkgname}-${pkgname}-${pkgver}
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgname}-${pkgver}
+  make test
+}
+
+package() {
+  cd ${pkgname}-${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
+}


[arch-commits] Commit in (4 files)

2020-10-30 Thread Frederik Schwan via arch-commits
Date: Friday, October 30, 2020 @ 17:30:44
  Author: freswa
Revision: 736826

move perl-unicode-string from unsupported to [community]

Added:
  perl-unicode-string/
  perl-unicode-string/repos/
  perl-unicode-string/trunk/
  perl-unicode-string/trunk/PKGBUILD

--+
 PKGBUILD |   38 ++
 1 file changed, 38 insertions(+)

Added: perl-unicode-string/trunk/PKGBUILD
===
--- perl-unicode-string/trunk/PKGBUILD  (rev 0)
+++ perl-unicode-string/trunk/PKGBUILD  2020-10-30 17:30:44 UTC (rev 736826)
@@ -0,0 +1,38 @@
+# Maintainer: Frederik Schwan 
+# Contributor: Simon Perry 
+# Contributor: James Rayner 
+# Contributor: Andrew Simmons 
+
+pkgname=perl-unicode-string
+_realname=Unicode-String
+pkgver=2.10
+pkgrel=4
+pkgdesc='String of Unicode characters for perl (UCS2/UTF16)'
+arch=('x86_64')
+license=('GPL')
+url='https://metacpan.org/release/Unicode-String/'
+depends=('perl')
+options=('!emptydirs' purge)
+source=("https://cpan.metacpan.org/authors/id/G/GA/GAAS/GAAS/Unicode-String-${pkgver}.tar.gz";)
+b2sums=('4d7769b74fd85e197aa1bf8a22a57f3dc519b30bb1c1d47fa1f1de6faeb47e2a0351a580a2c34c158b13a37a43d9e5b7864c2333143d335f129219efb5451857')
+
+build() {
+  cd Unicode-String-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd Unicode-String-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd Unicode-String-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+}


[arch-commits] Commit in (4 files)

2020-10-30 Thread Frederik Schwan via arch-commits
Date: Friday, October 30, 2020 @ 17:23:44
  Author: freswa
Revision: 736811

move perl-sys-meminfo from unsupported to [community]

Added:
  perl-sys-meminfo/
  perl-sys-meminfo/repos/
  perl-sys-meminfo/trunk/
  perl-sys-meminfo/trunk/PKGBUILD

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Added: perl-sys-meminfo/trunk/PKGBUILD
===
--- perl-sys-meminfo/trunk/PKGBUILD (rev 0)
+++ perl-sys-meminfo/trunk/PKGBUILD 2020-10-30 17:23:44 UTC (rev 736811)
@@ -0,0 +1,36 @@
+# Maintainer: Frederik Schwan 
+# Contributor: An Nguyen (stk) 
+# Contributor: Francesco Di Battista 
+
+pkgname=perl-sys-meminfo
+pkgver=0.99
+pkgrel=2
+pkgdesc='Perl extension for return the total amount of physical memory'
+arch=('x86_64')
+url='https://metacpan.org/release/Sys-MemInfo'
+license=('GPL')
+depends=('perl')
+options=('!emptydirs' purge)
+source=("https://cpan.metacpan.org/authors/id/S/SC/SCRESTO/Sys-MemInfo-${pkgver}.tar.gz";)
+b2sums=('f45ebe017ff40cd612d69b9e804348bed8b78526c18b308a16accf7ffeec1263c2bd8ac6de8ffdf25f9c4e01562a9aa91563f159f0e76268e4bc4f188654a814')
+
+build() {
+  cd Sys-MemInfo-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd Sys-MemInfo-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd Sys-MemInfo-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+}


[arch-commits] Commit in (4 files)

2020-10-30 Thread Frederik Schwan via arch-commits
Date: Friday, October 30, 2020 @ 17:13:52
  Author: freswa
Revision: 736786

move perl-par-packager from unsupported to [community]

Added:
  perl-par-packer/
  perl-par-packer/repos/
  perl-par-packer/trunk/
  perl-par-packer/trunk/PKGBUILD

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Added: perl-par-packer/trunk/PKGBUILD
===
--- perl-par-packer/trunk/PKGBUILD  (rev 0)
+++ perl-par-packer/trunk/PKGBUILD  2020-10-30 17:13:52 UTC (rev 736786)
@@ -0,0 +1,42 @@
+# Maintainer: Frederik Schwan 
+# Contributor: Amish 
+# Contributor: Justin Davis 
+# Contributor: Tony Sokhon 
+
+pkgname=perl-par-packer
+pkgver=1.050
+pkgrel=5
+pkgdesc='PAR Packager'
+arch=('x86_64')
+url='https://metacpan.org/release/PAR-Packer'
+license=('GPL')
+# This package links agains libperl.so
+depends=('perl=5.32.0' 'perl-archive-zip' 'perl-getopt-argvfile' 
'perl-ipc-run3' 'perl-module-scandeps'
+  'perl-par' 'perl-par-dist')
+makedepends=('perl-extutils-makemaker')
+options=('!emptydirs' purge)
+source=("https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-Packer-${pkgver}.tar.gz";)
+b2sums=('9f7702ef38d6c21fc4df6d4a2dbc432c6d64cee99cda707a7e9197aa4d7e276210b9095da92cb1767275eba6e7671b6410b95e082d579972bab97cba48a365bf')
+
+build() {
+  cd PAR-Packer-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd PAR-Packer-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package() {
+  cd PAR-Packer-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+  #remove conflicting and empty man page
+  rm "${pkgdir}"/usr/share/man/man1/pp.1
+}


[arch-commits] Commit in (4 files)

2020-10-30 Thread Frederik Schwan via arch-commits
Date: Friday, October 30, 2020 @ 16:57:32
  Author: freswa
Revision: 736775

move perl-par from unsupported to [community]

Added:
  perl-par/
  perl-par/repos/
  perl-par/trunk/
  perl-par/trunk/PKGBUILD

--+
 PKGBUILD |   34 ++
 1 file changed, 34 insertions(+)

Added: perl-par/trunk/PKGBUILD
===
--- perl-par/trunk/PKGBUILD (rev 0)
+++ perl-par/trunk/PKGBUILD 2020-10-30 16:57:32 UTC (rev 736775)
@@ -0,0 +1,34 @@
+# Maintainer: dracorp aka Piotr Rogoza 
+# Contributor:  TDY 
+# Contributor: François Charette 
+
+pkgname=perl-par
+pkgver=1.016
+pkgrel=3
+pkgdesc='Perl Archive Toolkit'
+arch=('any')
+url='https://metacpan.org/release/PAR'
+license=('GPL')
+depends=('perl-archive-zip' 'perl-par-dist')
+options=('!emptydirs' purge)
+source=("https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/PAR-${pkgver}.tar.gz";)
+b2sums=('247e48b9de6dffc73cf78f8bc5c9114edde49634ef91412c765202529e0bcfeb5eee180c40cc04ac5bfbe02c2c12f6eaf2926f2b7a4178a102a607e36301c9e3')
+
+build() {
+  cd PAR-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  perl Makefile.PL
+  make
+}
+check(){
+  cd PAR-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+package() {
+  cd PAR-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+}


[arch-commits] Commit in (4 files)

2020-10-30 Thread Frederik Schwan via arch-commits
Date: Friday, October 30, 2020 @ 16:43:18
  Author: freswa
Revision: 736771

move perl-ntlm from unsupported to [community]

Added:
  perl-ntlm/
  perl-ntlm/repos/
  perl-ntlm/trunk/
  perl-ntlm/trunk/PKGBUILD

--+
 PKGBUILD |   36 
 1 file changed, 36 insertions(+)

Added: perl-ntlm/trunk/PKGBUILD
===
--- perl-ntlm/trunk/PKGBUILD(rev 0)
+++ perl-ntlm/trunk/PKGBUILD2020-10-30 16:43:18 UTC (rev 736771)
@@ -0,0 +1,36 @@
+# Maintainer: Frederik Schwan 
+# Contributor: Eduardo Leggiero 
+
+pkgname=perl-ntlm
+pkgver=1.09
+pkgrel=5
+pkgdesc='Perl/CPAN module NTLM'
+arch=('any')
+url='https://metacpan.org/release/NTLM'
+license=('GPL')
+depends=('perl')
+makedepends=('perl-digest-hmac')
+options=('!emptydirs' purge)
+source=("https://cpan.metacpan.org/authors/id/N/NB/NBEBOUT/NTLM-${pkgver}.tar.gz";)
+b2sums=('dbf8f4497f2e57c72ad6a5dc6ff21e3cba35bdeee1ebccfc9efecb04a9808b7f3fb929c055acb7038f2990e6ef6a553a09573af70b065ffc74a72fba223e2fae')
+
+build() {
+  cd NTLM-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd NTLM-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  export PERL_MM_USE_DEFAULT=1
+  make test
+}
+
+package(){
+  cd NTLM-${pkgver}
+  unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}


[arch-commits] Commit in (4 files)

2020-10-30 Thread Frederik Schwan via arch-commits
Date: Friday, October 30, 2020 @ 16:15:36
  Author: freswa
Revision: 736761

move perl-mail-imapclient from unsupported to [community]

Added:
  perl-mail-imapclient/
  perl-mail-imapclient/repos/
  perl-mail-imapclient/trunk/
  perl-mail-imapclient/trunk/PKGBUILD

--+
 PKGBUILD |   28 
 1 file changed, 28 insertions(+)

Added: perl-mail-imapclient/trunk/PKGBUILD
===
--- perl-mail-imapclient/trunk/PKGBUILD (rev 0)
+++ perl-mail-imapclient/trunk/PKGBUILD 2020-10-30 16:15:36 UTC (rev 736761)
@@ -0,0 +1,28 @@
+# Maintainer: Frederik Schwan 
+# Contributor: DonVla 
+# Contributor: achterin 
+
+pkgname=perl-mail-imapclient
+pkgver=3.42
+pkgrel=2
+pkgdesc='Perl/CPAN Module Mail::IMAPClient : An IMAP Client API'
+arch=('any')
+url='https://search.cpan.org/dist/Mail-IMAPClient'
+license=('GPL')
+depends=('perl-parse-recdescent' 'perl-digest-hmac')
+optdepends=("perl-authen-sasl: for Authmechanism 'DIGEST-MD5'")
+source=("https://cpan.metacpan.org/authors/id/P/PL/PLOBBES/Mail-IMAPClient-${pkgver}.tar.gz";)
+b2sums=('360006381e318dfc46835cabb1a1c72f4039813563a58d585bf9b042b880ece3e5b00a29283bf4de5c382a02628df2094e1772762251c167498c9fcd70ed85a2')
+
+build() {
+  cd Mail-IMAPClient-${pkgver}
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd Mail-IMAPClient-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  # cleanup empty dir
+  rm -rf ${pkgdir}/usr/lib/
+}


[arch-commits] Commit in (4 files)

2020-10-30 Thread Frederik Schwan via arch-commits
Date: Friday, October 30, 2020 @ 16:02:29
  Author: freswa
Revision: 736743

move perl-json-webtoken from unsupported to [community]

Added:
  perl-json-webtoken/
  perl-json-webtoken/repos/
  perl-json-webtoken/trunk/
  perl-json-webtoken/trunk/PKGBUILD

--+
 PKGBUILD |   32 
 1 file changed, 32 insertions(+)

Added: perl-json-webtoken/trunk/PKGBUILD
===
--- perl-json-webtoken/trunk/PKGBUILD   (rev 0)
+++ perl-json-webtoken/trunk/PKGBUILD   2020-10-30 16:02:29 UTC (rev 736743)
@@ -0,0 +1,32 @@
+# Maintainer: Frederik Schwan 
+
+pkgname=perl-json-webtoken
+pkgver=0.10
+pkgrel=4
+pkgdesc='Perl/CPAN module JSON WebToken'
+arch=('any')
+url='https://metacpan.org/release/JSON-WebToken'
+license=('GPL')
+depends=('perl-json')
+makedepends=('perl-module-build' 'perl-module-runtime')
+checkdepends=('perl-test-mock-guard' 'perl-test-requires')
+source=("https://cpan.metacpan.org/authors/id/X/XA/XAICRON/JSON-WebToken-${pkgver}.tar.gz";)
+b2sums=('823f09e7d0c2d325de19c0d0f1204d1d0573407978c6d86119e052264c16d8c81a49ee74a9551bcbbe8f054916cd02236e4fb8f0c26ee5e539b71e1a30cdceb6')
+
+build() {
+  cd JSON-WebToken-${pkgver}
+  perl Build.PL
+  ./Build
+}
+
+check() {
+  cd JSON-WebToken-${pkgver}
+  ./Build test
+}
+
+package(){
+  cd JSON-WebToken-${pkgver}
+  ./Build install --destdir "${pkgdir}"
+  # cleanup empty dir
+  rm -rf ${pkgdir}/usr/lib/
+}


[arch-commits] Commit in (4 files)

2020-10-30 Thread Frederik Schwan via arch-commits
Date: Friday, October 30, 2020 @ 15:52:38
  Author: freswa
Revision: 736732

move perl-test-mock-guard from unsupported to [community]

Added:
  perl-test-mock-guard/
  perl-test-mock-guard/repos/
  perl-test-mock-guard/trunk/
  perl-test-mock-guard/trunk/PKGBUILD

--+
 PKGBUILD |   31 +++
 1 file changed, 31 insertions(+)

Added: perl-test-mock-guard/trunk/PKGBUILD
===
--- perl-test-mock-guard/trunk/PKGBUILD (rev 0)
+++ perl-test-mock-guard/trunk/PKGBUILD 2020-10-30 15:52:38 UTC (rev 736732)
@@ -0,0 +1,31 @@
+# Maintainer: Frederik Schwan 
+# Contributor: John D Jones III AKA jnbek 
+
+pkgname=perl-test-mock-guard
+pkgver=0.10
+pkgrel=2
+pkgdesc='Simple mock test library using RAII.'
+arch=('any')
+license=('GPL')
+depends=('perl-class-load')
+url='https://metacpan.org/release/Test-Mock-Guard'
+source=("http://search.cpan.org/CPAN/authors/id/X/XA/XAICRON/Test-Mock-Guard-${pkgver}.tar.gz";)
+b2sums=('7217eeef03920bdc96ae703607dbcd034b2a495b90296db9d2024e290cbc17e98f20f25f5d3f7fbdf3005b6db66476742fd5af94a954d35075d53f52f2e4fe45')
+
+build() {
+  cd Test-Mock-Guard-${pkgver}
+  perl Build.PL
+  ./Build
+}
+
+check() {
+  cd Test-Mock-Guard-${pkgver}
+  ./Build test
+}
+
+package() {
+  cd Test-Mock-Guard-${pkgver}
+  ./Build install --destdir "${pkgdir}"
+  # cleanup empty dir
+  rm -rf ${pkgdir}/usr/lib/
+}


[arch-commits] Commit in (4 files)

2020-10-29 Thread Bruno Pagani via arch-commits
Date: Thursday, October 29, 2020 @ 14:23:48
  Author: archange
Revision: 736514

Initial addition of vc-intrinsics to [community]

Added:
  vc-intrinsics/
  vc-intrinsics/repos/
  vc-intrinsics/trunk/
  vc-intrinsics/trunk/PKGBUILD

--+
 PKGBUILD |   32 
 1 file changed, 32 insertions(+)

Added: vc-intrinsics/trunk/PKGBUILD
===
--- vc-intrinsics/trunk/PKGBUILD(rev 0)
+++ vc-intrinsics/trunk/PKGBUILD2020-10-29 14:23:48 UTC (rev 736514)
@@ -0,0 +1,32 @@
+# Maintainer: Bruno Pagani 
+# Maintainer: Daniel Bermond 
+
+pkgname=vc-intrinsics
+pkgver=r57+eabcd20
+pkgrel=1
+pkgdesc="Set of new intrinsics on top of core LLVM IR instructions that 
represent SIMD semantics of a program targeting GPU"
+arch=(x86_64)
+url="https://github.com/intel/vc-intrinsics";
+license=(MIT)
+makedepends=(git cmake python llvm)
+source=(git+https://github.com/intel/vc-intrinsics.git#commit=eabcd2022cf868a658b257b8ea6ad62acbbe7dc5)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd ${pkgname}
+  printf "r%s+%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short 
HEAD)"
+}
+
+build() {
+  cmake -B build -S ${pkgname} \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DLLVM_DIR=/usr/lib/cmake/llvm \
+-Wno-dev
+  make -C build
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install
+  install -Dm644 ${pkgname}/License.md -t 
"${pkgdir}"/usr/share/licenses/${pkgname}
+}


[arch-commits] Commit in (4 files)

2020-10-28 Thread Felix Yan via arch-commits
Date: Wednesday, October 28, 2020 @ 21:27:03
  Author: felixonmars
Revision: 735731

addpkg: haskell-optparse-applicative0.15 0.15.1.0-1 (for stack)

Added:
  haskell-optparse-applicative0.15/
  haskell-optparse-applicative0.15/repos/
  haskell-optparse-applicative0.15/trunk/
  haskell-optparse-applicative0.15/trunk/PKGBUILD

--+
 PKGBUILD |   38 ++
 1 file changed, 38 insertions(+)

Added: haskell-optparse-applicative0.15/trunk/PKGBUILD
===
--- haskell-optparse-applicative0.15/trunk/PKGBUILD 
(rev 0)
+++ haskell-optparse-applicative0.15/trunk/PKGBUILD 2020-10-28 21:27:03 UTC 
(rev 735731)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan 
+# Contributor: Roger Duran 
+
+_hkgname=optparse-applicative
+pkgname=haskell-optparse-applicative0.15
+pkgver=0.15.1.0
+pkgrel=1
+pkgdesc="Utilities and combinators for parsing command line options"
+url="https://github.com/pcapriotti/optparse-applicative";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-ansi-wl-pprint" "haskell-transformers-compat")
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
+sha512sums=('e7ab0a2b4812bbfe7802c2d51a45a4f5a5ea162b094631dc6ee4cd79e5def4101ccb04305cfa16942926809ed656f91aa6f68c4d98e93171ca9be99ba40cc51e')
+
+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 (4 files)

2020-10-28 Thread Christian Hesse via arch-commits
Date: Wednesday, October 28, 2020 @ 09:16:50
  Author: eworm
Revision: 735287

restore devilspie

Added:
  devilspie/
  devilspie/repos/
  devilspie/trunk/
  devilspie/trunk/PKGBUILD

--+
 PKGBUILD |   35 +++
 1 file changed, 35 insertions(+)

Added: devilspie/trunk/PKGBUILD
===
--- devilspie/trunk/PKGBUILD(rev 0)
+++ devilspie/trunk/PKGBUILD2020-10-28 09:16:50 UTC (rev 735287)
@@ -0,0 +1,35 @@
+# Maintainer: Christian Hesse 
+# Contributor: Alexander F Rødseth 
+# Contributor: Aaron Griffin 
+# Contributor: Travis Willard 
+# Contributor: William Rea 
+
+pkgname=devilspie
+pkgver=0.23
+pkgrel=4
+pkgdesc='Window matching utility for X'
+arch=('x86_64')
+url='http://www.burtonini.com/blog/computers/devilspie'
+license=('GPL')
+depends=('libwnck3')
+makedepends=('intltool')
+source=("http://www.burtonini.com/computing/$pkgname-$pkgver.tar.xz";)
+sha256sums=('2dd9d4b7424ac999f20c214b0ff71e8c5836d97003d7a8a7391105cd16d36deb')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure \
+--prefix=/usr \
+--sysconfdir=/etc
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make prefix="$pkgdir"/usr install
+  # Make and install blank config
+  mkdir -p "$pkgdir"/etc/devilspie
+  echo '(debug)' > "$pkgdir"/etc/devilspie/example.ds
+}


[arch-commits] Commit in (4 files)

2020-10-27 Thread Bruno Pagani via arch-commits
Date: Tuesday, October 27, 2020 @ 19:09:27
  Author: archange
Revision: 734865

Initial addition of nodejs-lts-fermium to [community]

Added:
  nodejs-lts-fermium/
  nodejs-lts-fermium/repos/
  nodejs-lts-fermium/trunk/
  nodejs-lts-fermium/trunk/PKGBUILD

--+
 PKGBUILD |   60 
 1 file changed, 60 insertions(+)

Added: nodejs-lts-fermium/trunk/PKGBUILD
===
--- nodejs-lts-fermium/trunk/PKGBUILD   (rev 0)
+++ nodejs-lts-fermium/trunk/PKGBUILD   2020-10-27 19:09:27 UTC (rev 734865)
@@ -0,0 +1,60 @@
+# Maintainer: Bruno Pagani 
+# Contributor: Felix Yan 
+
+pkgname=nodejs-lts-fermium
+pkgver=14.15.0
+pkgrel=1
+pkgdesc="Evented I/O for V8 javascript (LTS release: Fermium)"
+arch=(x86_64)
+url="https://nodejs.org/";
+license=(MIT)
+depends=(openssl zlib icu libuv c-ares brotli libnghttp2) # http-parser
+makedepends=(python procps-ng)
+optdepends=('npm: nodejs package manager')
+provides=("nodejs=$pkgver")
+conflicts=(nodejs)
+source=("${url}/dist/v${pkgver}/node-v${pkgver}.tar.xz")
+# https://nodejs.org/download/release/latest-fermium/SHASUMS256.txt.asc
+sha256sums=(3736d8622e7b16913fa20ca3d696e3caa7fdaec30ccc1054d080d98c5c01fb3b)
+validpgpkeys=(C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8  # Myles Borins 

+  77984A986EBC2AA786BC0F66B01FBB92821C587A  # Gibson Fahnestock 

+  B9AE9905FFD7803F25714661B63B535A4C206CA9  # Evan Lucas 

+  DD8F2338BAE7501E3DD5AC78C273792F7D83545D  # Rod Vagg 

+  B9E2F5981AA6E0CD28160D9FF13993A75599653C  # Shelley Vohr 

+  4ED778F539E3634C779C87C6D7062848A1AB005C  # Beth Griggs 

+  C82FA3AE1CBEDC6BE46B9360C43CEC45C17AB93C) # Richard Lau 

+
+
+build() {
+  cd node-v${pkgver}
+
+  ./configure \
+--prefix=/usr \
+--with-intl=system-icu \
+--without-npm \
+--shared-openssl \
+--shared-zlib \
+--shared-libuv \
+--experimental-http-parser \
+--shared-cares \
+--shared-brotli \
+--shared-nghttp2
+# --shared-v8
+# --shared-http-parser
+
+  make
+}
+
+check() {
+  cd node-v${pkgver}
+  # https://github.com/nodejs/node/issues/32765
+  sed -i '/\$(MAKE) -s test-doc/d' Makefile
+  make test
+}
+
+package() {
+  cd node-v${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
+


[arch-commits] Commit in (4 files)

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 13:38:11
  Author: felixonmars
Revision: 734407

addpkg: nodejs-yaml 1.10.0-1

Added:
  nodejs-yaml/
  nodejs-yaml/repos/
  nodejs-yaml/trunk/
  nodejs-yaml/trunk/PKGBUILD

--+
 PKGBUILD |   30 ++
 1 file changed, 30 insertions(+)

Added: nodejs-yaml/trunk/PKGBUILD
===
--- nodejs-yaml/trunk/PKGBUILD  (rev 0)
+++ nodejs-yaml/trunk/PKGBUILD  2020-10-27 13:38:11 UTC (rev 734407)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan 
+
+_npmname=yaml
+pkgname=nodejs-$_npmname
+pkgver=1.10.0
+pkgrel=1
+pkgdesc="JavaScript parser and stringifier for YAML"
+arch=('any')
+url="https://www.emojione.com";
+license=('ISC')
+depends=('nodejs')
+makedepends=('npm')
+source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz";)
+noextract=($_npmname-$pkgver.tgz)
+sha512sums=('cabda2708e2095868d1be29638d3836a9cb6fe30dd3120e7ace3528db9400630fd0786792e08a2adc4adf26f2c45914d8b4f241bd4a6d2e487b4498fdf36841a')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr 
"$srcdir"/$_npmname-$pkgver.tgz
+
+  # Non-deterministic race in npm gives 777 permissions to random directories.
+  # See https://github.com/npm/npm/issues/9359 for details.
+  chmod -R u=rwX,go=rX "$pkgdir"
+
+  # npm installs package.json owned by build user
+  # https://bugs.archlinux.org/task/63396
+  chown -R root:root "$pkgdir"
+
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s ../../../lib/node_modules/marked/LICENSE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


[arch-commits] Commit in (4 files)

2020-10-26 Thread Felix Yan via arch-commits
Date: Monday, October 26, 2020 @ 15:46:00
  Author: felixonmars
Revision: 733966

addpkg: haskell-citeproc 0.1.0.2-1

Added:
  haskell-citeproc/
  haskell-citeproc/repos/
  haskell-citeproc/trunk/
  haskell-citeproc/trunk/PKGBUILD

--+
 PKGBUILD |   53 +
 1 file changed, 53 insertions(+)

Added: haskell-citeproc/trunk/PKGBUILD
===
--- haskell-citeproc/trunk/PKGBUILD (rev 0)
+++ haskell-citeproc/trunk/PKGBUILD 2020-10-26 15:46:00 UTC (rev 733966)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan 
+
+_hkgname=citeproc
+pkgname=haskell-citeproc
+pkgver=0.1.0.2
+pkgrel=1
+pkgdesc="Generates citations and bibliography from CSL styles."
+url="https://github.com/jgm/citeproc";
+license=("BSD")
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-aeson' 'haskell-aeson-pretty' 'haskell-attoparsec'
+ 'haskell-case-insensitive' 'haskell-data-default' 'haskell-file-embed'
+ 'haskell-pandoc-types' 'haskell-safe' 'haskell-scientific' 
'haskell-text-icu'
+ 'haskell-uniplate' 'haskell-vector' 'haskell-xml-conduit')
+makedepends=('ghc' 'haskell-diff' 'haskell-timeit')
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";)
+sha256sums=('963cdd13385040c16faa5e0f618ce84067d5bba91141a87352daa0d0c6308da0')
+
+prepare() {
+  cd $_hkgname-$pkgver
+  echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.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 \
+--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+--ghc-option='-pie' -fexecutable -ficu
+
+  runhaskell Setup build
+  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
+}
+
+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 (4 files)

2020-10-23 Thread Felix Yan via arch-commits
Date: Friday, October 23, 2020 @ 13:09:45
  Author: felixonmars
Revision: 730668

addpkg: python-filetype 1.0.7-1

Added:
  python-filetype/
  python-filetype/repos/
  python-filetype/trunk/
  python-filetype/trunk/PKGBUILD

--+
 PKGBUILD |   30 ++
 1 file changed, 30 insertions(+)

Added: python-filetype/trunk/PKGBUILD
===
--- python-filetype/trunk/PKGBUILD  (rev 0)
+++ python-filetype/trunk/PKGBUILD  2020-10-23 13:09:45 UTC (rev 730668)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-filetype
+pkgver=1.0.7
+pkgrel=1
+pkgdesc="Infer file type and MIME type of any file/buffer"
+url="https://github.com/h2non/filetype.py";
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://github.com/h2non/filetype.py/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha512sums=('f6d861a9108ffb796858bfdfb26d1bdf6aa9704794fa86340cc36a2920b4f11e12faf4271d19bca9a89be76d8fcff43e8859c8def2525ddbadd52a18c7f68cac')
+
+build() {
+  cd filetype.py-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd filetype.py-$pkgver
+  python -m unittest discover
+}
+
+package() {
+  cd filetype.py-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}


  1   2   3   4   5   6   7   8   9   10   >