Bug 174145 - net-mgmt/noc: remove bogus setuptools dependency
Summary: net-mgmt/noc: remove bogus setuptools dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-05 08:00 UTC by Ruslan Makhmatkhanov
Modified: 2012-12-19 20:16 UTC (History)
0 users

See Also:


Attachments
file.diff (3.97 KB, patch)
2012-12-05 08:00 UTC, Ruslan Makhmatkhanov
no flags Details | Diff
noc2.diff.txt (3.90 KB, text/plain; charset=UTF-8)
2012-12-05 08:30 UTC, R.Mahmatkhanov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2012-12-05 08:00:00 UTC
- remove bogus setuptools dependency
- trim Makefile header
- move LICENSE and *_DEPENDS into proper block (portlint warning)
- remove shlib version in LIB_DEPENDS (portlint warning)
- eliminate using PYTHON_SITELIBDIR
- convert to optionsng
- limit python version to 2.x only since noc (and the most of it's dependencies) not [fully] supports 3.x
- remove trailin whitespace from pkg-descr
- do not bump PORTREVISION because the port is marked BROKEN (next 0.7.5 release adding django 1.4 support, so hopefully it will be working again soon)

As for setuptools dependency - it's only usage is in erroneous setup.py's comment. It also mentioned in installation guide, but only in context of installing it's dependencies (that is already handled by our ports tree). As you may see in setup.py, it's using distutils for installing. 

buildlog:
http://people.freebsd.org/~rm/noc-0.6.4_1.log

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-05 08:07:45 UTC
Maintainer of net-mgmt/noc,

Please note that PR ports/174145 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/174145

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-05 08:07:46 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 R.Mahmatkhanov 2012-12-05 08:30:16 UTC
I changed django dependency line to test the build w/o setuptools and 
forgot to turn it back after successful testing. Here is updated patch, 
that differs from original one only in that django version thing.

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.
Comment 4 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2012-12-19 20:16:01 UTC
State Changed
From-To: feedback->closed

Committed, thank you!