[arch-commits] Commit in python-dephell/repos/community-any (PKGBUILD PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Mon Jun 24 14:23:22 UTC 2019
Date: Monday, June 24, 2019 @ 14:23:22
Author: eschwartz
Revision: 483565
archrelease: copy trunk to community-any
Added:
python-dephell/repos/community-any/PKGBUILD
(from rev 483564, python-dephell/trunk/PKGBUILD)
Deleted:
python-dephell/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-24 14:23:11 UTC (rev 483564)
+++ PKGBUILD 2019-06-24 14:23:22 UTC (rev 483565)
@@ -1,56 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=dephell
-pkgname=python-dephell
-pkgver=0.7.3
-pkgrel=1
-pkgdesc="universal Python project management: convert between formats, build, manage venvs"
-arch=('any')
-url="https://github.com/dephell/${_pkgname}"
-license=('ISC')
-_deps=('aiohttp' 'appdirs' 'attrs' 'cerberus' 'dephell-archive' 'dephell-discover'
- 'dephell-licenses' 'dephell-links' 'dephell-markers' 'dephell-pythons'
- 'dephell-shells' 'dephell-specifier' 'dephell-venvs' 'jinja' 'packaging'
- 'pip' 'requests' 'setuptools' 'tomlkit' 'yaml' 'yaspin')
-depends=("${_deps[@]/#/python-}" 'm2r')
-checkdepends=('python-pytest-runner')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('39be9b301376b1710d11519cabe8c90bf879549b49e35d8e04baed22e4d97222')
-b2sums=('31c6c070fe797948398fea98ed14254b03fefb7133e3cbbc68f10c15456d58f7e02a541fd89b6fbf922da7a1f3b1a8c3591373db253ad96e1cda74cdc33ed36e')
-
-prepare() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- # pycache slipped into release tarballs
- find . -name \*.pyc -delete
-}
-
-build(){
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- python setup.py build
-}
-
-check() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- # skip git tests, which rely on being run from dephell's own git repo
- python -m pytest -k 'not test_git_git'
-}
-
-package() {
- cd "${srcdir}"/${_pkgname}-${pkgver}
-
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-
- # make shell completions
- python -c 'from dephell.actions._autocomplete import make_bash_autocomplete as comp; print(comp())' | \
- install -Dm644 /dev/stdin "${pkgdir}"/usr/share/bash-completion/completions/dephell
-
- # rewrite zsh completion to support autoloading
- { printf '#compdef dephell\n'
- python -c 'from dephell.actions._autocomplete import make_zsh_autocomplete as comp; print(comp())' | \
- sed 's/^compdef _dephell dephell$/_dephell/'
- } | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/zsh/site-functions/_dephell
-}
Copied: python-dephell/repos/community-any/PKGBUILD (from rev 483564, python-dephell/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-06-24 14:23:22 UTC (rev 483565)
@@ -0,0 +1,56 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=dephell
+pkgname=python-dephell
+pkgver=0.7.4
+pkgrel=1
+pkgdesc="universal Python project management: convert between formats, build, manage venvs"
+arch=('any')
+url="https://github.com/dephell/${_pkgname}"
+license=('ISC')
+_deps=('aiohttp' 'appdirs' 'attrs' 'cerberus' 'dephell-archive' 'dephell-discover'
+ 'dephell-licenses' 'dephell-links' 'dephell-markers' 'dephell-pythons'
+ 'dephell-shells' 'dephell-specifier' 'dephell-venvs' 'jinja' 'packaging'
+ 'pip' 'requests' 'setuptools' 'tomlkit' 'yaml' 'yaspin')
+depends=("${_deps[@]/#/python-}" 'm2r')
+checkdepends=('python-pytest' 'python-aioresponses' 'python-requests-mock')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('4e21ccaaa8366c68d7b2351ad9f06cabc381f09031878f8a880698b67885883e')
+b2sums=('8e532ae03fc2e841add6b3ea4a864cdfeafb385cdd8c1b72dc23258e9a48a49d8bd194306202807b055e3143ed51b30e84a19d26fcb0d5ccf38bd3ca5025d2cc')
+
+prepare() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ # pycache slipped into release tarballs
+ find . -name \*.pyc -delete
+}
+
+build(){
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ python setup.py build
+}
+
+check() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ # skip git tests, which rely on being run from dephell's own git repo
+ python -m pytest -k 'not test_git_git'
+}
+
+package() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+ # make shell completions
+ python -c 'from dephell.actions._autocomplete import make_bash_autocomplete as comp; print(comp())' | \
+ install -Dm644 /dev/stdin "${pkgdir}"/usr/share/bash-completion/completions/dephell
+
+ # rewrite zsh completion to support autoloading
+ { printf '#compdef dephell\n'
+ python -c 'from dephell.actions._autocomplete import make_zsh_autocomplete as comp; print(comp())' | \
+ sed 's/^compdef _dephell dephell$/_dephell/'
+ } | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/zsh/site-functions/_dephell
+}
More information about the arch-commits
mailing list