diff options
author | Doron Behar | 2018-08-25 15:13:43 +0200 |
---|---|---|
committer | Doron Behar | 2018-08-25 15:13:43 +0200 |
commit | 25420f409124816401025784f6e430ed2cd9bd81 (patch) | |
tree | 97ccfaf9dd0a7af6856ace8ad83d2a40834364de | |
parent | 1681f441002d922c7d491b2e3b89e9355b43c4e1 (diff) | |
download | aur-25420f409124816401025784f6e430ed2cd9bd81.tar.gz |
Don't depend on specific versions of dependencies
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | dependencies.patch | 20 |
3 files changed, 36 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = python-syncthing pkgdesc = Python bindings to the Syncthing REST interface pkgver = 2.3.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/blakev/python-syncthing arch = any license = GPL @@ -11,7 +11,9 @@ pkgbase = python-syncthing depends = python-dateutil options = !emptydirs source = https://files.pythonhosted.org/packages/source/s/syncthing/syncthing-2.3.1.tar.gz + source = dependencies.patch md5sums = ead41fbbc898fa53d276261b490d5b45 + md5sums = 87ca42df5cd7771906db75c32452bb3d pkgname = python-syncthing @@ -3,7 +3,7 @@ pkgname=python-syncthing _name=syncthing pkgver=2.3.1 -pkgrel=1 +pkgrel=2 pkgdesc="Python bindings to the Syncthing REST interface" arch=('any') url="https://github.com/blakev/python-syncthing" @@ -17,8 +17,18 @@ replaces=() backup=() options=(!emptydirs) install= -source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") -md5sums=('ead41fbbc898fa53d276261b490d5b45') +source=( + "https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz" + "dependencies.patch" +) + +md5sums=('ead41fbbc898fa53d276261b490d5b45' + '87ca42df5cd7771906db75c32452bb3d') + +prepare() { + cd "${srcdir}/${_name}-${pkgver}" + patch -p0 < ${srcdir}/dependencies.patch +} package() { cd "$srcdir/$_name-$pkgver" diff --git a/dependencies.patch b/dependencies.patch new file mode 100644 index 000000000000..aa3888645c3b --- /dev/null +++ b/dependencies.patch @@ -0,0 +1,20 @@ +--- setup.py 2018-08-13 19:08:11.000000000 +0200 ++++ - 2018-08-25 14:42:08.852853550 +0200 +@@ -12,8 +12,8 @@ + url = 'https://github.com/blakev/python-syncthing', + license = 'The MIT License', + install_requires = [ +- 'python-dateutil==2.6.1', +- 'requests==2.18.4' ++ 'python-dateutil', ++ 'requests' + ], + extras_require = { + 'dev': [ +@@ -43,4 +43,4 @@ + 'Programming Language :: Python :: 3.7', + 'Topic :: System :: Archiving :: Mirroring' + ], +-) +\ No newline at end of file ++) |