[arch-commits] Commit in molecule-docker/repos/community-any (PKGBUILD PKGBUILD)
Date: Tuesday, July 19, 2022 @ 21:54:58 Author: dvzrv Revision: 1254763 archrelease: copy trunk to community-any Added: molecule-docker/repos/community-any/PKGBUILD (from rev 1254762, molecule-docker/trunk/PKGBUILD) Deleted: molecule-docker/repos/community-any/PKGBUILD --+ PKGBUILD | 87 ++--- 1 file changed, 38 insertions(+), 49 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-07-19 21:54:21 UTC (rev 1254762) +++ PKGBUILD2022-07-19 21:54:58 UTC (rev 1254763) @@ -1,49 +0,0 @@ -# Maintainer: David Runge - -pkgname=molecule-docker -pkgver=1.1.0 -pkgrel=2 -pkgdesc="Molecule Docker Driver" -arch=('any') -url="https://github.com/ansible-community/molecule-docker; -license=('MIT') -depends=('molecule' 'python-ansible-compat' 'python-docker' 'python-selinux') -makedepends=('python-setuptools-scm' 'python-setuptools-scm-git-archive') -checkdepends=('python-pytest' 'python-pytest-helpers-namespace') -optdepends=('docker: for using a local docker setup') -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz;) -sha512sums=('1133883f7f46f08d92051c8387bca048959a06d742dba94d4e6784587194619407744f3e5bea0d883cf78d2919448f4572cdf62f7c537dd4bd0845cec8e3f7b6') -b2sums=('b2dc53d49bc97ff11a3372f39351e37418439033e4647c02ca0c84e712d6911d65e29266738e372978867d255ae3da0b9758365cb5a3e56dc39284299921f398') - -prepare() { - cd "$pkgname-$pkgver" - # remove additional pytest options - # remove fitler to raise warnings as errors: https://github.com/ansible-community/molecule/issues/3004 - sed -e '/pre-commit/d' \ - -e '/addopts/d' \ - -e '/error/d' \ - -i setup.cfg - - printf "from setuptools import setup\nsetup()\n" > setup.py -} - -build() { - cd "$pkgname-$pkgver" - python setup.py build -} - -check() { - cd "$pkgname-$pkgver" - export PYTHONPATH="build:${PYTHONPATH}" - # disable tests that require the driver to be installed for the system - # version of molecule that we are testing with - pytest -v --ignore "src/molecule_docker/test/test_func.py" -} - -package() { - cd "$pkgname-$pkgver" - python setup.py install --optimize=1 --root="${pkgdir}" - install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -vDm 644 README.rst \ --t "${pkgdir}/usr/share/doc/${pkgname}" -} Copied: molecule-docker/repos/community-any/PKGBUILD (from rev 1254762, molecule-docker/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-07-19 21:54:58 UTC (rev 1254763) @@ -0,0 +1,38 @@ +# Maintainer: David Runge + +pkgname=molecule-docker +pkgver=2.0.0 +pkgrel=1 +pkgdesc="Molecule Docker Driver" +arch=(any) +url="https://github.com/ansible-community/molecule-docker; +license=(MIT) +depends=(molecule python-ansible-compat python-docker python-requests python-selinux) +makedepends=(python-build python-installer python-pip python-setuptools-scm python-setuptools-scm-git-archive python-wheel) +checkdepends=(ansible-core python-filelock python-pytest python-pytest-helpers-namespace) +optdepends=( + 'docker: for using a local docker setup' +) +source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz) +sha512sums=('adc3367b58110da78876522865b268de866b5f0fead6de31c79c61357a83b1dc927190a2016ee7cc608c318c65e5e287ec2edd5278c15e622e06f6a14dac5b60') +b2sums=('854eb8a519bad49f560acc91811dbb4fd0a5c50e727e369e89126ddf4159af3bca50528acc1945c6ea5602cc6169d4676c65c05ee27587523dbf017369a01b8f') + +build() { + cd $pkgname-$pkgver + export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + python -m build --wheel --no-isolation +} + +check() { + cd $pkgname-$pkgver + # disable tests that require the driver to be installed for the system + # version of molecule that we are testing with + pytest -c /dev/null -vv --ignore "src/molecule_docker/test/test_func.py" +} + +package() { + cd $pkgname-$pkgver + python -m installer --destdir="$pkgdir" dist/*.whl + install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname" +}
[arch-commits] Commit in molecule-docker/repos/community-any (PKGBUILD PKGBUILD)
Date: Wednesday, October 27, 2021 @ 17:28:48 Author: dvzrv Revision: 1034732 archrelease: copy trunk to community-any Added: molecule-docker/repos/community-any/PKGBUILD (from rev 1034731, molecule-docker/trunk/PKGBUILD) Deleted: molecule-docker/repos/community-any/PKGBUILD --+ PKGBUILD | 96 +++-- 1 file changed, 49 insertions(+), 47 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-10-27 17:28:41 UTC (rev 1034731) +++ PKGBUILD2021-10-27 17:28:48 UTC (rev 1034732) @@ -1,47 +0,0 @@ -# Maintainer: David Runge - -pkgname=molecule-docker -pkgver=1.0.2 -pkgrel=1 -pkgdesc="Molecule Docker Driver" -arch=('any') -url="https://github.com/ansible-community/molecule-docker; -license=('MIT') -depends=('molecule' 'python-ansible-compat' 'python-docker' 'python-selinux') -makedepends=('python-setuptools-scm' 'python-setuptools-scm-git-archive') -checkdepends=('python-pytest' 'python-pytest-helpers-namespace') -optdepends=('docker: for using a local docker setup') -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz;) -sha512sums=('6e21ded1aba056e8cbe3696a598b6cf627bb62559a8d2d6595cf9822988c9a0f0861b9f6ea2955e65a41cc7e254813cacce1f44d4c4ce8d2d3828d7ef3e55c03') -b2sums=('f04ddd69e0097aebd7f2c1a52c73d7d708cf602621d78d37bfe809268246f2a05d69cb4b4ec5e2d19244a1b35c1edbfb82549c98e02f12f46974500309cb') - -prepare() { - cd "$pkgname-$pkgver" - # remove additional pytest options - # remove fitler to raise warnings as errors: https://github.com/ansible-community/molecule/issues/3004 - sed -e '/pre-commit/d' \ - -e '/addopts/d' \ - -e '/error/d' \ - -i setup.cfg -} - -build() { - cd "$pkgname-$pkgver" - python setup.py build -} - -check() { - cd "$pkgname-$pkgver" - export PYTHONPATH="build:${PYTHONPATH}" - # disable tests that require the driver to be installed for the system - # version of molecule that we are testing with - pytest -v --ignore "src/molecule_docker/test/test_func.py" -} - -package() { - cd "$pkgname-$pkgver" - python setup.py install --optimize=1 --root="${pkgdir}" - install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -vDm 644 README.rst \ --t "${pkgdir}/usr/share/doc/${pkgname}" -} Copied: molecule-docker/repos/community-any/PKGBUILD (from rev 1034731, molecule-docker/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-10-27 17:28:48 UTC (rev 1034732) @@ -0,0 +1,49 @@ +# Maintainer: David Runge + +pkgname=molecule-docker +pkgver=1.1.0 +pkgrel=1 +pkgdesc="Molecule Docker Driver" +arch=('any') +url="https://github.com/ansible-community/molecule-docker; +license=('MIT') +depends=('molecule' 'python-ansible-compat' 'python-docker' 'python-selinux') +makedepends=('python-setuptools-scm' 'python-setuptools-scm-git-archive') +checkdepends=('python-pytest' 'python-pytest-helpers-namespace') +optdepends=('docker: for using a local docker setup') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz;) +sha512sums=('1133883f7f46f08d92051c8387bca048959a06d742dba94d4e6784587194619407744f3e5bea0d883cf78d2919448f4572cdf62f7c537dd4bd0845cec8e3f7b6') +b2sums=('b2dc53d49bc97ff11a3372f39351e37418439033e4647c02ca0c84e712d6911d65e29266738e372978867d255ae3da0b9758365cb5a3e56dc39284299921f398') + +prepare() { + cd "$pkgname-$pkgver" + # remove additional pytest options + # remove fitler to raise warnings as errors: https://github.com/ansible-community/molecule/issues/3004 + sed -e '/pre-commit/d' \ + -e '/addopts/d' \ + -e '/error/d' \ + -i setup.cfg + + printf "from setuptools import setup\nsetup()\n" > setup.py +} + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +check() { + cd "$pkgname-$pkgver" + export PYTHONPATH="build:${PYTHONPATH}" + # disable tests that require the driver to be installed for the system + # version of molecule that we are testing with + pytest -v --ignore "src/molecule_docker/test/test_func.py" +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --optimize=1 --root="${pkgdir}" + install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -vDm 644 README.rst \ +-t "${pkgdir}/usr/share/doc/${pkgname}" +}
[arch-commits] Commit in molecule-docker/repos/community-any (PKGBUILD PKGBUILD)
Date: Thursday, September 16, 2021 @ 17:37:34 Author: dvzrv Revision: 1016459 archrelease: copy trunk to community-any Added: molecule-docker/repos/community-any/PKGBUILD (from rev 1016458, molecule-docker/trunk/PKGBUILD) Deleted: molecule-docker/repos/community-any/PKGBUILD --+ PKGBUILD | 94 ++--- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-09-16 17:37:27 UTC (rev 1016458) +++ PKGBUILD2021-09-16 17:37:34 UTC (rev 1016459) @@ -1,47 +0,0 @@ -# Maintainer: David Runge - -pkgname=molecule-docker -pkgver=0.3.3 -pkgrel=2 -pkgdesc="Molecule Docker Driver" -arch=('any') -url="https://github.com/ansible-community/molecule-docker; -license=('MIT') -depends=('molecule' 'python-docker' 'python-selinux') -makedepends=('python-setuptools_scm') -checkdepends=('python-pytest' 'python-pytest-helpers-namespace') -optdepends=('docker: for using a local docker setup') -# 0.3.3a1 == 0.3.3 (CD pipeline mess): https://github.com/ansible-community/molecule-docker/issues/24 -source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}a1.tar.gz;) -sha512sums=('7a13e894f791d77f6ecadee1ebeea91ce368792a9526e14f5b5567d4de229266223f751637e46129deb0915e3446d7489595c98e91653291f17659ac8fe7d00b') -b2sums=('65dfef2f1c9f293ba97e342b6e61c4b9c2e2c40b1e2728b200b988b2d4645ac118b951bc862e36cf6aa13067a7a9c2fa9a711b1f2c7a8e41f89d31fe748657da') - -prepare() { - mv -v "${pkgname}-${pkgver}a1" "${pkgname}-${pkgver}" - cd "$pkgname-$pkgver" - sed -e '/pre-commit/d' \ - -e '/addopts/d' \ - -i setup.cfg -} - -build() { - cd "$pkgname-$pkgver" - python setup.py build -} - -check() { - cd "$pkgname-$pkgver" - export PYTHONPATH="build:${PYTHONPATH}" - # NOTE: we can only run the detection test, as the other tests require running docker - pytest -v "${pkgname//-/_}/test/test_driver.py" -} - -package() { - cd "$pkgname-$pkgver" - python setup.py install --skip-build \ - --optimize=1 \ - --root="${pkgdir}" - install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" - install -vDm 644 README.rst \ --t "${pkgdir}/usr/share/doc/${pkgname}" -} Copied: molecule-docker/repos/community-any/PKGBUILD (from rev 1016458, molecule-docker/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-09-16 17:37:34 UTC (rev 1016459) @@ -0,0 +1,47 @@ +# Maintainer: David Runge + +pkgname=molecule-docker +pkgver=1.0.2 +pkgrel=1 +pkgdesc="Molecule Docker Driver" +arch=('any') +url="https://github.com/ansible-community/molecule-docker; +license=('MIT') +depends=('molecule' 'python-ansible-compat' 'python-docker' 'python-selinux') +makedepends=('python-setuptools-scm' 'python-setuptools-scm-git-archive') +checkdepends=('python-pytest' 'python-pytest-helpers-namespace') +optdepends=('docker: for using a local docker setup') +source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz;) +sha512sums=('6e21ded1aba056e8cbe3696a598b6cf627bb62559a8d2d6595cf9822988c9a0f0861b9f6ea2955e65a41cc7e254813cacce1f44d4c4ce8d2d3828d7ef3e55c03') +b2sums=('f04ddd69e0097aebd7f2c1a52c73d7d708cf602621d78d37bfe809268246f2a05d69cb4b4ec5e2d19244a1b35c1edbfb82549c98e02f12f46974500309cb') + +prepare() { + cd "$pkgname-$pkgver" + # remove additional pytest options + # remove fitler to raise warnings as errors: https://github.com/ansible-community/molecule/issues/3004 + sed -e '/pre-commit/d' \ + -e '/addopts/d' \ + -e '/error/d' \ + -i setup.cfg +} + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +check() { + cd "$pkgname-$pkgver" + export PYTHONPATH="build:${PYTHONPATH}" + # disable tests that require the driver to be installed for the system + # version of molecule that we are testing with + pytest -v --ignore "src/molecule_docker/test/test_func.py" +} + +package() { + cd "$pkgname-$pkgver" + python setup.py install --optimize=1 --root="${pkgdir}" + install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -vDm 644 README.rst \ +-t "${pkgdir}/usr/share/doc/${pkgname}" +}