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

Felix Yan felixonmars at archlinux.org
Wed Nov 11 15:12:53 UTC 2020


    Date: Wednesday, November 11, 2020 @ 15:12:52
  Author: felixonmars
Revision: 750985

archrelease: copy trunk to community-staging-any

Added:
  python-iniconfig/repos/community-staging-any/PKGBUILD
    (from rev 750983, python-iniconfig/trunk/PKGBUILD)
Deleted:
  python-iniconfig/repos/community-staging-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 15:12:50 UTC (rev 750984)
+++ PKGBUILD	2020-11-11 15:12:52 UTC (rev 750985)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-iniconfig
-pkgname=(python-iniconfig python2-iniconfig)
-pkgver=1.0.1
-pkgrel=2
-pkgdesc="brain-dead simple config-ini parsing"
-url="https://github.com/RonnyPfannschmidt/iniconfig"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-setuptools-scm'
-             'python2-setuptools-scm')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/RonnyPfannschmidt/iniconfig/archive/v$pkgver.tar.gz")
-sha512sums=('64ad4be06bddd1c3cfbd5015317701eb30ca3da322d792b691646b97ac1adbe5b811bac7d7db5f0e48236176968360e825c17e433f3d6f67a519cf400ce8590a')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-prepare() {
-  cp -a iniconfig-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/iniconfig-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/iniconfig-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/iniconfig-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/iniconfig-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-iniconfig() {
-  depends=('python')
-
-  cd iniconfig-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-iniconfig() {
-  depends=('python2')
-
-  cd iniconfig-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-iniconfig/repos/community-staging-any/PKGBUILD (from rev 750983, python-iniconfig/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 15:12:52 UTC (rev 750985)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-iniconfig
+pkgname=(python-iniconfig python2-iniconfig)
+pkgver=1.0.1
+pkgrel=3
+pkgdesc="brain-dead simple config-ini parsing"
+url="https://github.com/RonnyPfannschmidt/iniconfig"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-setuptools-scm'
+             'python2-setuptools-scm')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/RonnyPfannschmidt/iniconfig/archive/v$pkgver.tar.gz")
+sha512sums=('64ad4be06bddd1c3cfbd5015317701eb30ca3da322d792b691646b97ac1adbe5b811bac7d7db5f0e48236176968360e825c17e433f3d6f67a519cf400ce8590a')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+prepare() {
+  cp -a iniconfig-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/iniconfig-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/iniconfig-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/iniconfig-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/iniconfig-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-iniconfig() {
+  depends=('python')
+
+  cd iniconfig-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-iniconfig() {
+  depends=('python2')
+
+  cd iniconfig-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list