[arch-commits] Commit in python-iniconfig/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Dec 6 08:41:21 UTC 2020


    Date: Sunday, December 6, 2020 @ 08:41:21
  Author: felixonmars
Revision: 771004

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-06 08:40:59 UTC (rev 771003)
+++ PKGBUILD	2020-12-06 08:41:21 UTC (rev 771004)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-iniconfig
-pkgname=(python-iniconfig python2-iniconfig)
-pkgver=1.1.0
-pkgrel=1
-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=('f5fcea660910ae03e45ada19c7c3b03f240b1cb1cadbf1a9e509ef8536c3d1158d4a9728cce375c8fe4b311eacfa126251d7c6e5f501f24487892e5286f5f380')
-
-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-any/PKGBUILD (from rev 771003, python-iniconfig/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-06 08:41:21 UTC (rev 771004)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-iniconfig
+pkgname=(python-iniconfig python2-iniconfig)
+pkgver=1.1.1
+pkgrel=1
+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=('3e86490e424adefcc36b498ed0e6c6a6d4c6a2804a95b99163cef456f303b1913e9afe34035039cf0f2e96f7624719dc85e4ab3917ccd59278b22894a00dbf26')
+
+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