[arch-commits] Commit in python-packaging/repos (testing-any testing-any/PKGBUILD)

2016-01-19 Thread Felix Yan
Date: Wednesday, January 20, 2016 @ 02:10:51
  Author: fyan
Revision: 258425

archrelease: copy trunk to testing-any

Added:
  python-packaging/repos/testing-any/
  python-packaging/repos/testing-any/PKGBUILD
(from rev 258424, python-packaging/trunk/PKGBUILD)

--+
 PKGBUILD |   51 +++
 1 file changed, 51 insertions(+)

Copied: python-packaging/repos/testing-any/PKGBUILD (from rev 258424, 
python-packaging/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2016-01-20 01:10:51 UTC (rev 258425)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+_pkgname=packaging
+pkgver=16.0
+_commit=fd6c1d301a5162d4c78620444c55bd56aa2670a0
+pkgrel=1
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing' 'git')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 
'python2-pretend' 'python-coverage' 'python2-coverage')
+source=("git+https://github.com/pypa/packaging.git#commit=$_commit";)
+md5sums=('SKIP')
+
+prepare() {
+  cp -a $_pkgname{,-py2}
+}
+
+build() {
+  cd "${srcdir}/${_pkgname}"
+  python setup.py build
+
+  cd "${srcdir}/${_pkgname}-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "${srcdir}/${_pkgname}"
+  python setup.py ptr
+
+  cd "${srcdir}/${_pkgname}-py2"
+  python2 setup.py ptr
+}
+
+package_python-packaging() {
+  depends=('python-pyparsing')
+
+  cd "${srcdir}/${_pkgname}"
+  python setup.py install --root "$pkgdir"
+}
+
+package_python2-packaging() {
+  depends=('python2-pyparsing')
+
+  cd "${srcdir}/${_pkgname}-py2"
+  python2 setup.py install --root "$pkgdir"
+}


[arch-commits] Commit in python-packaging/repos (testing-any testing-any/PKGBUILD)

2020-12-13 Thread Felix Yan via arch-commits
Date: Sunday, December 13, 2020 @ 13:02:13
  Author: felixonmars
Revision: 404279

archrelease: copy trunk to testing-any

Added:
  python-packaging/repos/testing-any/
  python-packaging/repos/testing-any/PKGBUILD
(from rev 404278, python-packaging/trunk/PKGBUILD)

--+
 PKGBUILD |   51 +++
 1 file changed, 51 insertions(+)

Copied: python-packaging/repos/testing-any/PKGBUILD (from rev 404278, 
python-packaging/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2020-12-13 13:02:13 UTC (rev 404279)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=20.8
+pkgrel=1
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging";
+license=('Apache')
+makedepends=('python-dephell' 'python-setuptools' 'python2-setuptools' 
'python-pyparsing'
+ 'python2-pyparsing')
+checkdepends=('python-pytest' 'python2-pytest' 'python-pretend' 
'python2-pretend'
+  'python-coverage' 'python2-coverage')
+source=("https://github.com/pypa/packaging/archive/$pkgver/$pkgbase-$pkgver.tar.gz";)
+sha512sums=('77c77da9298635274de58b856b8738ab279749f736264212e6ecdeab47db607ea9c6ae696952f0702e9557d1fd2b89c7277a2c81ff55081593f49ebcd6eb74d4')
+
+prepare() {
+  cd packaging-$pkgver
+
+  # poetry-generated setup.py is badly broken in several ways, including
+  # distribution of tests in the built package as well as using distutils for
+  # bad metadata. See https://github.com/sdispater/poetry/issues/866
+  dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build() {
+  cd packaging-$pkgver
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd packaging-$pkgver
+  python -m pytest
+  python2 -m pytest
+}
+
+package_python-packaging() {
+  depends=('python-pyparsing' 'python-six')
+
+  cd packaging-$pkgver
+  python setup.py install --root "$pkgdir"
+}
+
+package_python2-packaging() {
+  depends=('python2-pyparsing' 'python2-six')
+
+  cd packaging-$pkgver
+  python2 setup.py install --root "$pkgdir"
+}


[arch-commits] Commit in python-packaging/repos (testing-any testing-any/PKGBUILD)

2020-01-07 Thread Felix Yan via arch-commits
Date: Tuesday, January 7, 2020 @ 11:29:21
  Author: felixonmars
Revision: 372708

archrelease: copy trunk to testing-any

Added:
  python-packaging/repos/testing-any/
  python-packaging/repos/testing-any/PKGBUILD
(from rev 372707, python-packaging/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: python-packaging/repos/testing-any/PKGBUILD (from rev 372707, 
python-packaging/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2020-01-07 11:29:21 UTC (rev 372708)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=20.0
+pkgrel=1
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 
'python2-pretend'
+  'python-coverage' 'python2-coverage')
+source=("https://pypi.io/packages/source/p/packaging/packaging-$pkgver.tar.gz";)
+sha512sums=('f7d99700d27d5aebbb3343f1de6ee9ce1372750b805c55a40d1a1fbeb6cfcfe2184875db56de175c6cd46e17f1567c30a39d5527870902c3c69168d025447587')
+
+build() {
+  cd packaging-$pkgver
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd packaging-$pkgver
+  python setup.py pytest
+  python2 setup.py pytest
+}
+
+package_python-packaging() {
+  depends=('python-pyparsing' 'python-six')
+
+  cd packaging-$pkgver
+  python setup.py install --root "$pkgdir"
+}
+
+package_python2-packaging() {
+  depends=('python2-pyparsing' 'python2-six')
+
+  cd packaging-$pkgver
+  python2 setup.py install --root "$pkgdir"
+}


[arch-commits] Commit in python-packaging/repos (testing-any testing-any/PKGBUILD)

2020-02-04 Thread Felix Yan via arch-commits
Date: Tuesday, February 4, 2020 @ 18:08:31
  Author: felixonmars
Revision: 374586

archrelease: copy trunk to testing-any

Added:
  python-packaging/repos/testing-any/
  python-packaging/repos/testing-any/PKGBUILD
(from rev 374585, python-packaging/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: python-packaging/repos/testing-any/PKGBUILD (from rev 374585, 
python-packaging/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2020-02-04 18:08:31 UTC (rev 374586)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=20.1
+pkgrel=1
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 
'python2-pretend'
+  'python-coverage' 'python2-coverage')
+source=("https://pypi.io/packages/source/p/packaging/packaging-$pkgver.tar.gz";)
+sha512sums=('1d51e81ab8b8c552d880ae3d210fe140835de181b6fcee3eb382f0f1d6a416e9cbdaeb52a81c50c53d2c5f5cdc40ee516f29ced845868a1bf7be3b23433f21d7')
+
+build() {
+  cd packaging-$pkgver
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd packaging-$pkgver
+  python setup.py pytest
+  python2 setup.py pytest
+}
+
+package_python-packaging() {
+  depends=('python-pyparsing' 'python-six')
+
+  cd packaging-$pkgver
+  python setup.py install --root "$pkgdir"
+}
+
+package_python2-packaging() {
+  depends=('python2-pyparsing' 'python2-six')
+
+  cd packaging-$pkgver
+  python2 setup.py install --root "$pkgdir"
+}


[arch-commits] Commit in python-packaging/repos (testing-any testing-any/PKGBUILD)

2019-07-30 Thread Felix Yan via arch-commits
Date: Tuesday, July 30, 2019 @ 17:17:23
  Author: felixonmars
Revision: 358787

archrelease: copy trunk to testing-any

Added:
  python-packaging/repos/testing-any/
  python-packaging/repos/testing-any/PKGBUILD
(from rev 358786, python-packaging/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: python-packaging/repos/testing-any/PKGBUILD (from rev 358786, 
python-packaging/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2019-07-30 17:17:23 UTC (rev 358787)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=19.1
+pkgrel=1
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 
'python2-pretend'
+  'python-coverage' 'python2-coverage')
+source=("https://pypi.io/packages/source/p/packaging/packaging-$pkgver.tar.gz";)
+sha512sums=('1dec7f49c325801eb85b11432f8a316d228bb1881a04ac546f5556d60f5fa33f8085d0e91bbd5abfeb30bfcb05ec0532ed75a977dc996e256b4dc8c27c10e79b')
+
+build() {
+  cd packaging-$pkgver
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd packaging-$pkgver
+  python setup.py pytest
+  python2 setup.py pytest
+}
+
+package_python-packaging() {
+  depends=('python-pyparsing' 'python-six')
+
+  cd packaging-$pkgver
+  python setup.py install --root "$pkgdir"
+}
+
+package_python2-packaging() {
+  depends=('python2-pyparsing' 'python2-six')
+
+  cd packaging-$pkgver
+  python2 setup.py install --root "$pkgdir"
+}


[arch-commits] Commit in python-packaging/repos (testing-any testing-any/PKGBUILD)

2019-09-18 Thread Felix Yan via arch-commits
Date: Thursday, September 19, 2019 @ 06:21:56
  Author: felixonmars
Revision: 363029

archrelease: copy trunk to testing-any

Added:
  python-packaging/repos/testing-any/
  python-packaging/repos/testing-any/PKGBUILD
(from rev 363028, python-packaging/trunk/PKGBUILD)

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

Copied: python-packaging/repos/testing-any/PKGBUILD (from rev 363028, 
python-packaging/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2019-09-19 06:21:56 UTC (rev 363029)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=19.2
+pkgrel=1
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing'
+ 'python-attrs' 'python2-attrs')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 
'python2-pretend'
+  'python-coverage' 'python2-coverage')
+source=("https://pypi.io/packages/source/p/packaging/packaging-$pkgver.tar.gz";)
+sha512sums=('af7312a85292f577d3e6e57154f10fb380bbdee749344ba4b226a09f22bf5ca664ed63c62cd5b4dea0be5eb5cff5c17ad04415aab8c925fa90dcae2e1c6dee5a')
+
+build() {
+  cd packaging-$pkgver
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd packaging-$pkgver
+  python setup.py pytest
+  python2 setup.py pytest
+}
+
+package_python-packaging() {
+  depends=('python-attrs' 'python-pyparsing' 'python-six')
+
+  cd packaging-$pkgver
+  python setup.py install --root "$pkgdir"
+}
+
+package_python2-packaging() {
+  depends=('python2-attrs' 'python2-pyparsing' 'python2-six')
+
+  cd packaging-$pkgver
+  python2 setup.py install --root "$pkgdir"
+}


[arch-commits] Commit in python-packaging/repos (testing-any testing-any/PKGBUILD)

2019-01-21 Thread Felix Yan via arch-commits
Date: Monday, January 21, 2019 @ 10:36:05
  Author: felixonmars
Revision: 344550

archrelease: copy trunk to testing-any

Added:
  python-packaging/repos/testing-any/
  python-packaging/repos/testing-any/PKGBUILD
(from rev 344549, python-packaging/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: python-packaging/repos/testing-any/PKGBUILD (from rev 344549, 
python-packaging/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2019-01-21 10:36:05 UTC (rev 344550)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=19.0
+pkgrel=1
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 
'python2-pretend'
+  'python-coverage' 'python2-coverage')
+source=("https://pypi.io/packages/source/p/packaging/packaging-$pkgver.tar.gz";)
+sha512sums=('aa55b6fbca764e7de2992e294b7be9dc90b25f88b64ba0cd2d1d93042402d4360b4c2cdc134a94b083da0c0bc83de8fa7185c0856bcc96fa25828c10a793fba7')
+
+build() {
+  cd packaging-$pkgver
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd packaging-$pkgver
+  python setup.py pytest
+  python2 setup.py pytest
+}
+
+package_python-packaging() {
+  depends=('python-pyparsing' 'python-six')
+
+  cd packaging-$pkgver
+  python setup.py install --root "$pkgdir"
+}
+
+package_python2-packaging() {
+  depends=('python2-pyparsing' 'python2-six')
+
+  cd packaging-$pkgver
+  python2 setup.py install --root "$pkgdir"
+}


[arch-commits] Commit in python-packaging/repos (testing-any testing-any/PKGBUILD)

2018-09-27 Thread Felix Yan via arch-commits
Date: Friday, September 28, 2018 @ 06:17:45
  Author: felixonmars
Revision: 335492

archrelease: copy trunk to testing-any

Added:
  python-packaging/repos/testing-any/
  python-packaging/repos/testing-any/PKGBUILD
(from rev 335491, python-packaging/trunk/PKGBUILD)

--+
 PKGBUILD |   41 +
 1 file changed, 41 insertions(+)

Copied: python-packaging/repos/testing-any/PKGBUILD (from rev 335491, 
python-packaging/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2018-09-28 06:17:45 UTC (rev 335492)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=18.0
+pkgrel=1
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 
'python2-pretend'
+  'python-coverage' 'python2-coverage')
+source=("https://pypi.io/packages/source/p/packaging/packaging-$pkgver.tar.gz";)
+sha512sums=('9f7cab9bdd756cc49192379b8381f81d218d3201e071498f2f6fd0307b1c46ad1a8c8b9d4f27e62d5f469eb05603a57be54deb8a5e0dbc2cf542e436a7127b34')
+
+build() {
+  cd packaging-$pkgver
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd packaging-$pkgver
+  python setup.py pytest
+  python2 setup.py pytest
+}
+
+package_python-packaging() {
+  depends=('python-pyparsing' 'python-six')
+
+  cd packaging-$pkgver
+  python setup.py install --root "$pkgdir"
+}
+
+package_python2-packaging() {
+  depends=('python2-pyparsing' 'python2-six')
+
+  cd packaging-$pkgver
+  python2 setup.py install --root "$pkgdir"
+}


[arch-commits] Commit in python-packaging/repos (testing-any testing-any/PKGBUILD)

2018-05-07 Thread Felix Yan via arch-commits
Date: Monday, May 7, 2018 @ 16:58:21
  Author: felixonmars
Revision: 323446

archrelease: copy trunk to testing-any

Added:
  python-packaging/repos/testing-any/
  python-packaging/repos/testing-any/PKGBUILD
(from rev 323445, python-packaging/trunk/PKGBUILD)

--+
 PKGBUILD |   52 
 1 file changed, 52 insertions(+)

Copied: python-packaging/repos/testing-any/PKGBUILD (from rev 323445, 
python-packaging/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2018-05-07 16:58:21 UTC (rev 323446)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-packaging
+pkgname=(python-packaging python2-packaging)
+pkgver=17.1
+_commit=0dfec396998e7237e12dc2e3a06385ffa1bd97b1
+pkgrel=1
+pkgdesc="Core utilities for Python packages"
+arch=('any')
+url="https://github.com/pypa/packaging";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyparsing' 
'python2-pyparsing')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 
'python2-pretend'
+  'python-coverage' 'python2-coverage')
+source=("$pkgbase-$_commit.tar.gz::https://github.com/pypa/packaging/archive/$_commit.tar.gz";)
+sha512sums=('00f0ac87794813372931b31c5dd52f76153b0fa8fc21c2a1d5dafdd792e12ef0d87503aa7bbceb8642f777900dcaccfafca77dc391c5afdce1471a7ba9c4021e')
+
+prepare() {
+  mv packaging-{$_commit,$pkgver}
+  cp -a packaging-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/packaging-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/packaging-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/packaging-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/packaging-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-packaging() {
+  depends=('python-pyparsing' 'python-six')
+
+  cd "$srcdir"/packaging-$pkgver
+  python setup.py install --root "$pkgdir"
+}
+
+package_python2-packaging() {
+  depends=('python2-pyparsing' 'python2-six')
+
+  cd "$srcdir"/packaging-$pkgver-py2
+  python2 setup.py install --root "$pkgdir"
+}