summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 17 insertions, 18 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2dd8554d101b..7ce42c6a3b70 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,47 +1,44 @@
# Maintainer: Tomislav Ivek <tomislav.ivek@gmail.com>
-pkgname=conan-git
-pkgver=1.29.0.dev.r4497.dd258e0ae
+pkgname=('conan-git')
+pkgver=r5594.0851d53c5
pkgrel=1
pkgdesc="A distributed, open source, C/C++ package manager."
arch=('any')
url="https://conan.io"
license=('MIT')
-makedepends=('python-setuptools' 'patch' 'fakeroot')
+makedepends=('python-setuptools' 'patch' 'git')
depends=('python-pyjwt>=1.4.0'
- 'python-requests>=2.8.1'
- 'python-urllib3>=1.25.6'
+ 'python-requests>=2.25'
+ 'python-urllib3>=1.26.6'
'python-colorama>=0.3.3'
'python-yaml>=3.11'
- 'python-patch-ng>=1.17.2'
+ 'python-patch-ng>=1.17.4'
'python-fasteners>=0.14.1'
'python-six>=1.10.0'
'python-node-semver>=0.6.1'
- 'python-bottle>=0.12.8'
'python-distro>=1.0.2'
- 'python-pluginbase>=0.5'
- 'python-future>=0.16.0'
'python-pygments>=2.0'
- 'python-deprecation>=2.0'
'python-tqdm>=4.28.1'
- 'python-jinja>=2.3'
- 'python-dateutil>=2.7.0')
+ 'python-jinja>=3.0'
+ 'python-dateutil>=2.7.0'
+ 'python-bottle>=0.12.8'
+ 'python-pluginbase>=0.5')
provides=('conan')
conflicts=('conan')
source=("conan-git::git+https://github.com/conan-io/conan.git" "arch-reqs.patch")
-md5sums=('SKIP'
- '4db1a3af80ad8961bf5edaef056216bd')
-
pkgver() {
cd "$pkgname"
- printf "%s.r%s.%s" "$(grep -oP "__version__ = '\K([0-9a-z.-]+)(?=')" conans/__init__.py | sed 's/\([^-]*-g\)/r\1/;s/-/./g')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
+ ( set -o pipefail
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ )
+}
prepare() {
cd "$pkgname"
patch -Np1 -i "${srcdir}/arch-reqs.patch"
-}
+ }
build() {
cd "$srcdir/$pkgname"
@@ -56,3 +53,5 @@ package() {
install -m755 -d "${pkgdir}/usr/share/doc/conan"
install -m644 contributors.txt "${pkgdir}/usr/share/doc/conan/"
}
+md5sums=('SKIP'
+ 'f220688daf73d0a5f536ba7bf448c763')