Date: Tuesday, January 1, 2019 @ 22:34:42
  Author: eschwartz
Revision: 420242

fix various packages with build dependencies being downloaded as eggs from PyPI 
during build()

Modified:
  python-dateutil/trunk/PKGBUILD
  python-dropbox/trunk/PKGBUILD
  python-execnet/trunk/PKGBUILD
  python-ioflo/trunk/PKGBUILD
  python-jaraco/trunk/PKGBUILD
  python-pygal/trunk/PKGBUILD
  python-pytest32/trunk/PKGBUILD
  python-raet/trunk/PKGBUILD
  python-stevedore/trunk/PKGBUILD
  python-tox/trunk/PKGBUILD
  python-virtualenvwrapper/trunk/PKGBUILD
  python-xlib/trunk/PKGBUILD

-----------------------------------------+
 python-dateutil/trunk/PKGBUILD          |    2 +-
 python-dropbox/trunk/PKGBUILD           |   19 +++++++++++++++++--
 python-execnet/trunk/PKGBUILD           |    3 +--
 python-ioflo/trunk/PKGBUILD             |    4 ++--
 python-jaraco/trunk/PKGBUILD            |    2 +-
 python-pygal/trunk/PKGBUILD             |    4 ++--
 python-pytest32/trunk/PKGBUILD          |    2 +-
 python-raet/trunk/PKGBUILD              |    2 +-
 python-stevedore/trunk/PKGBUILD         |    2 +-
 python-tox/trunk/PKGBUILD               |    2 +-
 python-virtualenvwrapper/trunk/PKGBUILD |    7 +++++++
 python-xlib/trunk/PKGBUILD              |    4 ++--
 12 files changed, 37 insertions(+), 16 deletions(-)

Modified: python-dateutil/trunk/PKGBUILD
===================================================================
--- python-dateutil/trunk/PKGBUILD      2019-01-01 22:23:10 UTC (rev 420241)
+++ python-dateutil/trunk/PKGBUILD      2019-01-01 22:34:42 UTC (rev 420242)
@@ -10,7 +10,7 @@
 arch=('any')
 license=('BSD' 'Apache')
 url="https://github.com/dateutil/dateutil";
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 
'python2-six')
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-six' 
'python2-six')
 checkdepends=('python-pytest' 'python-freezegun' 'python-hypothesis'
               'python2-pytest' 'python2-freezegun' 'python2-hypothesis')
 
source=("https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})

Modified: python-dropbox/trunk/PKGBUILD
===================================================================
--- python-dropbox/trunk/PKGBUILD       2019-01-01 22:23:10 UTC (rev 420241)
+++ python-dropbox/trunk/PKGBUILD       2019-01-01 22:34:42 UTC (rev 420242)
@@ -12,10 +12,25 @@
 arch=('any')
 license=('MIT')
 makedepends=(python-requests python2-requests python-urllib3 python2-urllib3
-             python-setuptools python2-setuptools)
-source=("https://github.com/dropbox/$_pkgname/archive/v$pkgver.tar.gz";)
+             python-setuptools python2-setuptools python-pytest-runner 
python2-pytest-runner)
+source=("${pkgbase}-${pkgver}.tar.gz::https://github.com/dropbox/$_pkgname/archive/v$pkgver.tar.gz";)
 
sha512sums=('6d1ffd283f53744579514e03c0ac8d9c7d922a998e0563d98381dfa29d147e81b6e252f5cb40bba3dc90c140d7a3088e231ed4d0c9d39012d14f9326d4516ebf')
 
+build() {
+  cd "$srcdir/$_pkgname-$pkgver"
+
+  python setup.py build
+  python2 setup.py build
+}
+
+# requires API token in $DROPBOX_TOKEN
+#check() {
+#  cd "$srcdir/$_pkgname-$pkgver"
+#
+#  python setup.py pytest --addopts "-k 'not TestDropboxTeam'"
+#  python2 setup.py pytest --addopts "-k 'not TestDropboxTeam'"
+#}
+
 package_python-dropbox() {
   depends=(python python-urllib3 python-requests)
 

Modified: python-execnet/trunk/PKGBUILD
===================================================================
--- python-execnet/trunk/PKGBUILD       2019-01-01 22:23:10 UTC (rev 420241)
+++ python-execnet/trunk/PKGBUILD       2019-01-01 22:34:42 UTC (rev 420242)
@@ -8,7 +8,7 @@
 arch=('any')
 license=('MIT')
 url="http://codespeak.net/execnet";
-makedepends=('python-setuptools' 'python2-setuptools' 'python-apipkg' 
'python2-apipkg')
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-apipkg' 
'python2-apipkg')
 checkdepends=('python-pytest-timeout' 'python2-pytest-timeout' 'procps-ng' 
'openssh' 'pypy')
 source=("https://pypi.io/packages/source/e/execnet/execnet-$pkgver.tar.gz";)
 
sha512sums=('ca2b571fafdf8f68b3cc7a04ee326e3255828d4cde28ead65d0cef325569c3a6dee09359e525152248038de65326ffc6b75c8362f53aa5c0b3f736eb596cb2d9')
@@ -48,4 +48,3 @@
   python2 setup.py install --root="${pkgdir}" --optimize=1
   install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
-

Modified: python-ioflo/trunk/PKGBUILD
===================================================================
--- python-ioflo/trunk/PKGBUILD 2019-01-01 22:23:10 UTC (rev 420241)
+++ python-ioflo/trunk/PKGBUILD 2019-01-01 22:34:42 UTC (rev 420242)
@@ -7,10 +7,10 @@
 pkgrel=1
 pkgdesc='Flo based programming interface in python'
 arch=('any')
-url='http://ioflo.com'
+url='https://ioflo.com'
 license=('Apache')
 depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools-git')
 checkdepends=('python-pytest-runner')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/ioflo/ioflo/archive/v$pkgver.tar.gz";)
 
sha512sums=('886767d72c4067727d47652fba157a76ecd8a6a5478a761feb3923992ffc585addfe892027ade104c5d44a56fd1645c0548ce3b554553f58e1104864c359470b')

Modified: python-jaraco/trunk/PKGBUILD
===================================================================
--- python-jaraco/trunk/PKGBUILD        2019-01-01 22:23:10 UTC (rev 420241)
+++ python-jaraco/trunk/PKGBUILD        2019-01-01 22:34:42 UTC (rev 420242)
@@ -9,7 +9,7 @@
 url='https://github.com/jaraco?page=1&tab=repositories&utf8=%E2%9C%93&q=jaraco'
 license=('MIT')
 depends=('python-six' 'python-pytz' 'python-more-itertools')
-makedepends=('python-setuptools' 'python2-setuptools'
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm'
     'python2-backports.functools_lru_cache' 'python2-more-itertools' 
'python2-pytz')
 
 # These should not exist and do not deserve 16 packages.

Modified: python-pygal/trunk/PKGBUILD
===================================================================
--- python-pygal/trunk/PKGBUILD 2019-01-01 22:23:10 UTC (rev 420241)
+++ python-pygal/trunk/PKGBUILD 2019-01-01 22:34:42 UTC (rev 420242)
@@ -10,10 +10,10 @@
 arch=('any')
 url='http://pygal.org/'
 license=('LGPL3')
-makedepends=('python-setuptools' 'python2-setuptools')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pytest-runner' 
'python2-pytest-runner')
 checkdepends=('python-pytest' 'python2-pytest' 'python-lxml' 'python2-lxml'
               'python-pyquery' 'python2-pyquery' 'python-cairosvg' 
'python-flask'
-              'python2-flask' 'python-pytest-runner' 'python2-pytest-runner')
+              'python2-flask')
 
source=("$pkgbase-$pkgver.tar.gz::https://github.com/Kozea/pygal/archive/$pkgver.tar.gz";)
 md5sums=('5c688d30f8e75dced194bfa612f45589')
 

Modified: python-pytest32/trunk/PKGBUILD
===================================================================
--- python-pytest32/trunk/PKGBUILD      2019-01-01 22:23:10 UTC (rev 420241)
+++ python-pytest32/trunk/PKGBUILD      2019-01-01 22:34:42 UTC (rev 420242)
@@ -9,7 +9,7 @@
 arch=('any')
 license=('MIT')
 url="http://pytest.org/";
-makedepends=('python-setuptools' 'python2-setuptools' 'python-py' 'python2-py' 
'python-pluggy'
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-py' 
'python2-py' 'python-pluggy'
              'python2-pluggy')
 checkdepends=('lsof' 'python-nose' 'python2-nose' 'python-mock' 'python2-mock' 
'python-tox'
               'python2-tox' 'python-yaml' 'python2-yaml' 'python-pytest-xdist'

Modified: python-raet/trunk/PKGBUILD
===================================================================
--- python-raet/trunk/PKGBUILD  2019-01-01 22:23:10 UTC (rev 420241)
+++ python-raet/trunk/PKGBUILD  2019-01-01 22:34:42 UTC (rev 420242)
@@ -9,7 +9,7 @@
 url='http://raet.docs.saltstack.com/'
 license=('Apache')
 depends=('python-libnacl' 'python-ioflo' 'python-six')
-makedepends=('python-setuptools')
+makedepends=('python-setuptools-git')
 checkdepends=('python-pytest-runner' 'python-bitvector')
 source=("https://pypi.io/packages/source/r/raet/raet-$pkgver.tar.gz";)
 
sha512sums=('01279e7414ec3edc9f2bc0641cb9e0606ebf5700b5ce37a05fd5919f3274b3b43aad64110baf4c4b1fda3843cb1a87b6be4ab592a8f62e82b3a716a86ae61b20')

Modified: python-stevedore/trunk/PKGBUILD
===================================================================
--- python-stevedore/trunk/PKGBUILD     2019-01-01 22:23:10 UTC (rev 420241)
+++ python-stevedore/trunk/PKGBUILD     2019-01-01 22:34:42 UTC (rev 420242)
@@ -7,7 +7,7 @@
 arch=('any')
 url="https://github.com/openstack/stevedore";
 license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 
'python2-pbr' 'git')
 options=('!emptydirs')
 source=(https://pypi.org/packages/source/s/stevedore/stevedore-$pkgver.tar.gz)
 sha256sums=('b92bc7add1a53fb76c634a178978d113330aaf2006f9498d9e2414b31fbfc104')

Modified: python-tox/trunk/PKGBUILD
===================================================================
--- python-tox/trunk/PKGBUILD   2019-01-01 22:23:10 UTC (rev 420241)
+++ python-tox/trunk/PKGBUILD   2019-01-01 22:34:42 UTC (rev 420242)
@@ -11,7 +11,7 @@
 arch=('any')
 url='https://tox.readthedocs.io'
 license=('GPL2')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-py' 'python2-py' 
'python-virtualenv'
+makedepends=('python-setuptools-scm' 'python2-setuptools-scm' 'python-py' 
'python2-py' 'python-virtualenv'
              'python2-virtualenv' 'python-pluggy' 'python2-pluggy' 
'python-toml' 'python2-toml'
              'python-filelock' 'python2-filelock')
 checkdepends=('python-pytest-runner' 'python2-pytest-runner' 
'python-pytest-mock'

Modified: python-virtualenvwrapper/trunk/PKGBUILD
===================================================================
--- python-virtualenvwrapper/trunk/PKGBUILD     2019-01-01 22:23:10 UTC (rev 
420241)
+++ python-virtualenvwrapper/trunk/PKGBUILD     2019-01-01 22:34:42 UTC (rev 
420242)
@@ -10,11 +10,18 @@
 license=('MIT')
 depends=('python-virtualenv' 'python2-virtualenv' 'python-virtualenv-clone'
          'python-stevedore')
+makedepends=('python-pbr')
 conflicts=('python2-virtualenvwrapper')
 replaces=('python2-virtualenvwrapper')
 
source=(https://pypi.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-$pkgver.tar.gz)
 sha256sums=('18d8e4c500c4c4ee794f704e050cf2bbb492537532a4521d1047e7dd1ee4e374')
 
+build() {
+  cd "$srcdir/virtualenvwrapper-$pkgver"
+
+  python3 setup.py build
+}
+
 package() {
   cd "$srcdir/virtualenvwrapper-$pkgver"
 

Modified: python-xlib/trunk/PKGBUILD
===================================================================
--- python-xlib/trunk/PKGBUILD  2019-01-01 22:23:10 UTC (rev 420241)
+++ python-xlib/trunk/PKGBUILD  2019-01-01 22:34:42 UTC (rev 420242)
@@ -11,8 +11,8 @@
 url="https://github.com/python-xlib/python-xlib";
 arch=('any')
 license=('LGPL')
-makedepends=('python2' 'python2-setuptools'
-             'python' 'python-setuptools')
+makedepends=('python2' 'python2-setuptools-scm'
+             'python' 'python-setuptools-scm')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/python-xlib/python-xlib/archive/$pkgver.tar.gz";)
 sha256sums=('a345fad5003adf6d06c296a6fb917b6b7cc21f17135f11418bf603e15bbde118')
 

Reply via email to