Re: gcalcli and dependencies?

2016-01-08 Thread Kubilay Kocak
On 9/01/2016 4:58 AM, Henrik Hudson wrote:
> I'm the maintainer for the gcalcli port. 
> 
> It looks like the current dependency on the oauth2client requires a version
> <=1.4.12 to properly work. oauth2client current is at 1.5.2 in
> ports.
> 
> According to this:
> https://github.com/insanum/gcalcli/issues/204
> 
> The fix is to move from gflags to argparse in their code, but I'm
> guessing that's not super trivial.
> 
> Supposedly, gcalcli 3.4 will fix that, but should the current port
> be marked as broken? Should a oauth2client14 port be created? other
> solutions / suggestions?
> 
> 
> thanks.
> 
> 
> henrik
> 

Hi Henrik.

Yep, mark it BROKEN=Requires oauth2client <= 1.4.2 (port is 1.5.2+)

A new port for a (probable) short term workaround is probably not
worthwhile, particularly if a fix is forthcoming. If you can muster a
patch in the short-term, even better. Send it upstream for bonus points.

One extra thing you can do is:

* Remind upstreams (gcalcli in this case) to track their dependencies
correctly (oauth2client was missing prior to this commit) and to always
test (tox, pytest, travis, whatever) against the latest versions, not


gcalcli and dependencies?

2016-01-08 Thread Henrik Hudson
I'm the maintainer for the gcalcli port. 

It looks like the current dependency on the oauth2client requires a version
<=1.4.12 to properly work. oauth2client current is at 1.5.2 in
ports.

According to this:
https://github.com/insanum/gcalcli/issues/204

The fix is to move from gflags to argparse in their code, but I'm
guessing that's not super trivial.

Supposedly, gcalcli 3.4 will fix that, but should the current port
be marked as broken? Should a oauth2client14 port be created? other
solutions / suggestions?


thanks.


henrik
-- 
Henrik Hudson
li...@rhavenn.net
-
"God, root, what is difference?" Pitr; UF 

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Poudriere and python framework of ports

2016-01-08 Thread Shane Ambler

On 09/01/2016 13:21, Yasuhiro KIMURA wrote:


But on poudriere with 10.2-R jail the result is different as
following:

* "poudriere testport -j 102release -o mail/postfix-policyd-spf-python"
   fails at check-sanity phase.
* Some dependents (such as mail/py-authres or mail/py-pyspf) are build
   as python 2 packages (py27-authres-0.800, py27-pyspf-2.0.12_3, and
   etc.)

Then what is the cause of failure on poudriere? Is there something
wrong with my patch, or is this bug of either poudriere or python
framework of ports? Would someone please let me know?


In poudriere each port is built independently, that is they don't
inherit the specified python version from the port triggering the build
as a dependency. It is possible that poudriere could be adjusted to
compensate for this. It would require considering PYTHON_VERSION and
using pkg names when dealing with dependencies instead of just the port
origin. So, yes to a poudriere bug.

For now - to get ports to build in poudriere with python3 you need to
create a make.conf for the poudriere jail -
/usr/local/etc/poudriere.d/jailname-make.conf

To get all ports built with python3 as the default version add

DEFAULT_VERSIONS= python=3.5

To get python3 ports that install into a system that has py2.7 as
default you need to have

DEFAULT_VERSIONS= python=2.7 python3=3.5
PYTHON_VERSION= python3.5

As the default python is still 2.7 I believe the port will need to
define IGNORE. Something like -

.if defined(PACKAGE_BUILDING) && ${PYTHON_DEFAULT} == 2.7
IGNORE= requires python3 dependencies and must be built manually
.endif

--
FreeBSD - the place to B...Software Developing

Shane Ambler

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Poudriere and python framework of ports

2016-01-08 Thread Yasuhiro KIMURA
I proposed following patch to Bug 205789:

https://bugs.freebsd.org/bugzilla/attachment.cgi?id=165035=diff

The intention of my patch is to make the port always use python 3
regardless of default python version setting.

On real 10.2-RELEASE environment it just works as is intended. That
is:

* "cd /usr/ports/mail/postfix-policyd-spf-python; make install"
  succeeds without any error.
* Both mail/postfix-policyd-spf-python itself and dependents (such as
  mail/py-authres or mail/py-pyspf) are build and installed as
  python 3 packages (py34-postfix-policyd-spf-python-1.3.2_2,
  py34-authres-0.800, py34-pyspf-2.0.12_3, and etc.).

But on poudriere with 10.2-R jail the result is different as
following:

* "poudriere testport -j 102release -o mail/postfix-policyd-spf-python"
  fails at check-sanity phase. 
* Some dependents (such as mail/py-authres or mail/py-pyspf) are build
  as python 2 packages (py27-authres-0.800, py27-pyspf-2.0.12_3, and
  etc.)
  
Then what is the cause of failure on poudriere? Is there something
wrong with my patch, or is this bug of either poudriere or python
framework of ports? Would someone please let me know?

Best Regards.

---
Yasuhiro KIMURA
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


[Bug 187884] [PATCH] science/minc2: update to 2.2.00

2016-01-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187884

Torsten Zühlsdorff  changed:

   What|Removed |Added

 CC||po...@toco-domains.de

--- Comment #8 from Torsten Zühlsdorff  ---
This PR can be closed; the port has version 2.2.00 since july 2013. :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

[Bug 187884] [PATCH] science/minc2: update to 2.2.00

2016-01-08 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187884

Kurt Jaeger  changed:

   What|Removed |Added

 CC||p...@freebsd.org
 Resolution|--- |Overcome By Events
 Status|In Progress |Closed

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"