Package Details: conan 2.12.2-1

Git Clone URL: https://aur.archlinux.org/conan.git (read-only, click to copy)
Package Base: conan
Description: A distributed, open source, C/C++ package manager.
Upstream URL: https://conan.io
Keywords: conan
Licenses: MIT
Conflicts: conan1
Provides: conan
Submitter: suridaj
Maintainer: suridaj
Last Packager: suridaj
Votes: 75
Popularity: 1.02
First Submitted: 2016-08-21 01:35 (UTC)
Last Updated: 2025-02-13 19:06 (UTC)

Latest Comments

1 2 3 4 5 6 .. 13 Next › Last »

micwoj92 commented on 2025-02-12 18:27 (UTC)

Deps sqlite, python-pluginbase, python-pyjwt not needed.

suridaj commented on 2025-01-10 19:54 (UTC)

Thank you for your patience. I am currently away and plan to update the package when I return, within the next two days.

chip.collier commented on 2025-01-10 19:50 (UTC)

Moin!

It would be helpful to update conan to the latest version (2.11.0).

https://paste.sr.ht/~photex/8bc9a5529ed6ff6fbf2c00be958b115586bbf6f3

suridaj commented on 2024-06-14 15:23 (UTC)

Oops. Missed that, thank you. Will fix ASAP.

ravenexp commented on 2024-06-14 15:20 (UTC)

The package still seems to have a dependency on python-setuptools.

My bad, I accidentally removed it from makedepends when switching to python-build.

Petkr commented on 2024-06-14 12:51 (UTC)

The package still seems to have a dependency on python-setuptools.

I get:

File "/usr/lib/python3.12/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
    raise BackendUnavailable(pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta')

ERROR Backend 'setuptools.build_meta' is not available.

suridaj commented on 2024-06-11 08:16 (UTC) (edited on 2024-06-11 08:19 (UTC) by suridaj)

Thank you @ravenexp for reporting and for the proposed patch. Your changes appear to work. Before pulling them, first I would like to carefully go through the raised Conan issue to avoid any future gotchas. In particular, it seems we will be able to package 2.4.1 using the --wheel flag, thanks to your comments in their issue tracker.

ravenexp commented on 2024-06-09 14:28 (UTC) (edited on 2024-06-09 14:29 (UTC) by ravenexp)

Upstream issue related to the comment below: https://github.com/conan-io/conan/issues/16436

I tried switching to the PEP 517 packaging procedure as described here:

https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517)

and it seemed to help to resolve the issue as long as the recommended --wheel flag is NOT used with python -m build. My patch is below:

diff --git a/PKGBUILD b/PKGBUILD
index 52077db..5f1d2f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,12 @@

 pkgname=('conan')
 pkgver=2.4.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A distributed, open source, C/C++ package manager."
 arch=('any')
 url="https://conan.io"
 license=('MIT')
-makedepends=('python-setuptools' 'patch')
+makedepends=('python-build' 'python-installer' 'python-wheel' 'patch')
 depends=('sqlite'
          'python-requests>=2.25'
          'python-urllib3>=1.26.6'
@@ -36,13 +36,13 @@ prepare() {
  }

 build() {
-  cd "$srcdir/conan-$pkgver"
-  python setup.py build
+  cd $pkgname-$pkgver
+  python -m build --no-isolation
 }

 package() {
-  cd "$srcdir/conan-$pkgver"
-  python setup.py install --optimize=1 --root=${pkgdir}
+  cd $pkgname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
   install -m755 -d "${pkgdir}/usr/share/licenses/conan"
   install -m644 LICENSE.md "${pkgdir}/usr/share/licenses/conan/"
   install -m755 -d "${pkgdir}/usr/share/doc/conan"

ravenexp commented on 2024-06-09 12:09 (UTC)

conan-2.4.0-1 packages and installs all its unit tests. It's hardy the intended behavior.

suridaj commented on 2024-05-30 18:54 (UTC)

Thank you FirstAirBender for handling the 2.3.2 in my absence and for unborking the detached HEAD state.