[arch-commits] Commit in python-dephell-discover/repos/community-any (2 files)

Eli Schwartz eschwartz at archlinux.org
Wed Jun 12 18:10:59 UTC 2019


    Date: Wednesday, June 12, 2019 @ 18:10:58
  Author: eschwartz
Revision: 480937

archrelease: copy trunk to community-any

Added:
  python-dephell-discover/repos/community-any/PKGBUILD
    (from rev 480935, python-dephell-discover/trunk/PKGBUILD)
Deleted:
  python-dephell-discover/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-12 18:10:55 UTC (rev 480936)
+++ PKGBUILD	2019-06-12 18:10:58 UTC (rev 480937)
@@ -1,45 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=dephell_discover
-pkgname=python-dephell-discover
-pkgver=0.2.4
-pkgrel=1
-pkgdesc="Find project modules and data files (packages and package_data for setup.py)"
-arch=('any')
-url="https://github.com/dephell/${_pkgname}"
-license=('MIT')
-depends=('python-attrs')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('be80a188e5624678812f966c8cd2e6b2db6b54239fd0fdeef1abbc1babfa1d85')
-b2sums=('65af6e838de96060eadf76851216fe26e94f88723fed2ea459f676bba0fa7876e2ff3c238110efbd55a744cbdd590ec3e3cdf6737fbe6069279da25efce1832c')
-
-prepare() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    # fix attr dependency, see https://github.com/dephell/dephell_discover/pull/3
-    sed -i '/install_requires/{s/attr/attrs/}' setup.py
-
-    # pycache slipped into release tarballs
-    find . -name \*.pyc -delete
-}
-
-build(){
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python -m pytest
-}
-
-package() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-dephell-discover/repos/community-any/PKGBUILD (from rev 480935, python-dephell-discover/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-12 18:10:58 UTC (rev 480937)
@@ -0,0 +1,42 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=dephell_discover
+pkgname=python-dephell-discover
+pkgver=0.2.5
+pkgrel=1
+pkgdesc="Find project modules and data files (packages and package_data for setup.py)"
+arch=('any')
+url="https://github.com/dephell/${_pkgname}"
+license=('MIT')
+depends=('python-attrs')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('f2ca52485abdf48de4c4e5c38e4fd6aac028479f54923a9b4c2a7053e665632e')
+b2sums=('c3b9d155e0fb52b485126cf04d2b605c4ed9c03353df80e201cc378f335ac8820f8ebc036495768d45682d54181c0776b0c5dc076907199ea3a91df3519667b6')
+
+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}
+
+    python -m pytest
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}


More information about the arch-commits mailing list