From owner-freebsd-python@FreeBSD.ORG Wed Nov 12 17:00:37 2014 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9EFC837F for ; Wed, 12 Nov 2014 17:00:37 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 86691AE0 for ; Wed, 12 Nov 2014 17:00:37 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sACH0bLG072280 for ; Wed, 12 Nov 2014 17:00:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 193316] [NEW PORT]: www/py-djblets06: Legacy version of py-djblets Date: Wed, 12 Nov 2014 17:00:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yan_jingfeng@yahoo.com X-Bugzilla-Status: Patch Ready X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: marino@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2014 17:00:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193316 --- Comment #30 from Jingfeng Yan --- (In reply to chris.dukes.aix from comment #29) > (In reply to John Marino from comment #28) > > I don't know anything about python (and I kind of like that way), but Chris > > Dukes seems to be saying it's optional and recommends not using it. > > You don't need to know squat about python. You do need to know the basics > of package depdencies and the best practices of deploying python > applications with dependencies that are not met by the packages provided by > the operating system. > As of the last time I updated my ports tree, seahub was not in it. > *IF* it was, I'd suggest you chat with the port maintainer for it. > > The basics. > You need djblets. > You do not need a FreeBSD package for djblets. > > Typical behavior for deploying a python based web stack is to use > 'virtualenv' to create an area for all/most of the dependencies that does > not change the python modules installed system wide. > Take a read through https://virtualenv.pypa.io/en/latest/ and > http://virtualenvwrapper.readthedocs.org/en/latest/ > They are in ports as devel/py-virtualenv and devel./py-virtualenvwrapper > > In addition a web stack usually makes use of something like a Makefile or a > pip requirement file. Read more about a pip requirements file at > https://pip.readthedocs.org/en/1.1/requirements.html. > > > Looking at > https://github.com/haiwen/seahub > The author did include a requirements file for pip. > Unfortunately the > Djblets==0.6.14 > requirement does not reference something that is in the index pip searches > by default. > > My suggestion on your next steps are > 1) Request that this bug be closed. You do not need Djblets packaged for > FreeBSD. > 2) Work out how to create a virtualenv and activate it. > 3) Use pip and the requirements file to install most of the packages in the > virutalenv. You may need to comment out the Djblets line. > 4) Scour the web for the downloads for Djblets, download the version > indicated in the requirements file and follow the instructions for building > that manually. You'll do that in the virtualenv as well. > > When you find the seahub requirementsfile is wrong... take that discussion > up with the seahub developer. > > > As it stands, this port of Djblets exists as a convenience for the > maintainer of the www/reviewboard package. If you can use it as is, great. > If not... your back to learning about packaging dependencies and best > practices for an app framework... or hiring someone to do the work. > > > > > > Assuming that's what he actually said, then I don't understand Jingfeng > > Yan's next comment. > > > > For my part, I am only concerned about bug 193135 which is blocked by this. > > If we can build seahub without djbets altogether, that sounds good to me. > > And to repeat my earlier statement. > You need Djblets. > You do not need Djblets packaged for FreeBSD. > This port of Djblets exists to support www/reviewboard. Okay. I will see how I can change seahub to make it fit it. AS LONG AS it is clarified that FreeBSD port system does not want to carries the duplication of PyPI, I will treat those existing freebsd pkgs with multiple versions as EXCEPTIONS. :) If they ARE, we will try not to fall in those category. One question, do all the files that are installed into virtualenv pointed directory need to be tracked from freebsd port/pkg system? -- You are receiving this mail because: You are on the CC list for the bug.