Package Details: netbox-git v2.10.5.r45.f9f1a4439-1

Git Clone URL: https://aur.archlinux.org/netbox-git.git (read-only, click to copy)
Package Base: netbox-git
Description: IP address management (IPAM) and data center infrastructure management (DCIM) tool.
Upstream URL: https://github.com/netbox-community/netbox.git
Licenses: Apache-2.0
Conflicts: netbox
Provides: netbox
Replaces: netbox
Submitter: None
Maintainer: None
Last Packager: None
Votes: 0
Popularity: 0.000000
First Submitted: 2021-02-26 03:05 (UTC)
Last Updated: 2021-03-17 05:52 (UTC)

Latest Comments

rageltman commented on 2022-11-27 23:03 (UTC)

In order to get this to build in our chroot environment, had to add git as a makedepend and the current example configuration uses an underscore, not a period:

@@ -44,6 +44,7 @@ provides=("${pkgname%-git}")
 conflicts=("${pkgname%-git}")
 replaces=("${pkgname%-git}")
 install="${pkgname%-git}.install"
+makedepents=('git')

 source=("netbox::git+$url"
         "${pkgname%-git}.service"
@@ -81,7 +82,7 @@ package() {

        install -d "$pkgdir/etc/${pkgname%-git}"
        install -D -m644 ../gunicorn_config.py "$pkgdir/etc/${pkgname%-git}/gunicorn.py"
-       install -D -m644 ${pkgname%-git}/${pkgname%-git}/configuration.example.py "$pkgdir/etc/${pkgname%-git}/configuration.py"
+       install -D -m644 ${pkgname%-git}/${pkgname%-git}/configuration_example.py "$pkgdir/etc/${pkgname%-git}/configuration.py"
        ln -s /etc/netbox/configuration.py "$pkgdir/opt/${pkgname%-git}/${pkgname%-git}/configuration.py"
 }

MarsSeed commented on 2022-06-20 17:46 (UTC) (edited on 2022-06-30 01:02 (UTC) by MarsSeed)

Hi,

I believe the dependencies python-coreapi and python-openapi-codec are not needed. I see no mention of them in the project's requirements.

(Also here on AUR they are broken so they prevent this package from being built.)

AFAICT the NetBox project uses drf-yasg for Swagger/OpenAPI 2.0 schemas.

Could you revise the current requirements list and see if there are further changes? Thank you in advance.