Re: [update] py-simplejson

2013-12-28 Thread Martynas Venckus
Sorry for the delay, somehow this got lost in my Inbox.

The diff looks good but I don't use this anymore, so could you remove
me as maintainer and find someone to take care of testing/committing
it?

Thanks.

On 12/28/13, frantisek holop  wrote:
> ping?
> multiple maintainer timeouts :[
>
> -f
>
> hmm, on Wed, Dec 04, 2013 at 06:58:45PM +0100, frantisek holop said that
>> here is an update for py-simplejson 3.3.1
>> i changed the DESCR because i feel it reflects better
>> the current state of the project.
>> please test and commit
>>
>> -f
>> --
>> last week i couldn't even spell engineer, now i are one.
>
>> Index: Makefile
>> ===
>> RCS file: /cvs/ports/devel/py-simplejson/Makefile,v
>> retrieving revision 1.19
>> diff -u -p -r1.19 Makefile
>> --- Makefile 11 Mar 2013 10:50:26 -  1.19
>> +++ Makefile 4 Dec 2013 17:55:26 -
>> @@ -1,15 +1,13 @@
>> -# $OpenBSD: Makefile,v 1.19 2013/03/11 10:50:26 espie Exp $
>> +# $OpenBSD: Makefile,v 1.18 2012/04/22 09:17:50 jasper Exp $
>>
>>  COMMENT =   JSON encoder/decoder
>>
>> -MODPY_EGG_VERSION = 2.5.0
>> +MODPY_EGG_VERSION = 3.3.1
>>  DISTNAME =  simplejson-${MODPY_EGG_VERSION}
>>  PKGNAME =   py-${DISTNAME}
>> -
>>  CATEGORIES =devel
>>
>> -HOMEPAGE =  http://undefined.org/python/\#simplejson
>> -
>> +HOMEPAGE =  http://github.com/simplejson/simplejson
>>  MAINTAINER =Martynas Venckus 
>>
>>  # MIT
>> @@ -18,11 +16,12 @@ PERMIT_PACKAGE_CDROM =   Yes
>>  MASTER_SITES =  ${MASTER_SITE_PYPI:=s/simplejson/}
>>
>>  MODULES =   lang/python
>> -TEST_DEPENDS =  devel/py-nose
>> +TEST_DEPENDS =  devel/py-nose
>>
>>  WANTLIB +=  ${MODPY_WANTLIB}
>>
>> -do-test:
>> -cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests
>> +do-test: fake
>> +cd ${WRKSRC} && ${MAKE_ENV} \
>> +PYTHONPATH=${WRKINST}${MODPY_SITEPKG}
>> ${LOCALBASE}/bin/nosetests
>>
>>  .include 
>> Index: distinfo
>> ===
>> RCS file: /cvs/ports/devel/py-simplejson/distinfo,v
>> retrieving revision 1.8
>> diff -u -p -r1.8 distinfo
>> --- distinfo 22 Apr 2012 09:17:50 -  1.8
>> +++ distinfo 4 Dec 2013 17:55:26 -
>> @@ -1,5 +1,2 @@
>> -MD5 (simplejson-2.5.0.tar.gz) = MWBVYiTj4M2WBcEB6w3juQ==
>> -RMD160 (simplejson-2.5.0.tar.gz) = XfcYw9uYDxTBS8jPJ3qjKVHH42Q=
>> -SHA1 (simplejson-2.5.0.tar.gz) = 52p694RfFv05dTmVolSWeGVxFTs=
>> -SHA256 (simplejson-2.5.0.tar.gz) =
>> K89b7bUyilYzBFp9RnhNM5POlAyUnAkMr111ttMWNGY=
>> -SIZE (simplejson-2.5.0.tar.gz) = 52834
>> +SHA256 (simplejson-3.3.1.tar.gz) =
>> BUkm8qFuPxl05PcLwsZA5FZr7PMQPs9DQvqfses7odg=
>> +SIZE (simplejson-3.3.1.tar.gz) = 67371
>> Index: pkg/DESCR
>> ===
>> RCS file: /cvs/ports/devel/py-simplejson/pkg/DESCR,v
>> retrieving revision 1.1.1.1
>> diff -u -p -r1.1.1.1 DESCR
>> --- pkg/DESCR24 Jun 2007 21:51:30 -  1.1.1.1
>> +++ pkg/DESCR4 Dec 2013 17:55:26 -
>> @@ -1,8 +1,5 @@
>> -Simplejson is a simple, fast, extensible JSON encoder/decoder for
>> -Python.  It is compatible with Python 2.3 and later with no external
>> -dependencies. It covers the full JSON specification for both encoding
>> -and decoding, with unicode support.  The encoder may be subclassed
>> -to provide serialization in any kind of situation, without any
>> -special support by the objects to be serialized (somewhat like
>> -pickle).  The decoder can handle incoming JSON strings of any
>> -specified encoding.
>> +Simplejson is the externally maintained development version of the
>> +json library included with Python, but maintains backwards
>> +compatibility with older Python versions.  It covers the full JSON
>> +specification for both encoding and decoding, with unicode
>> +support.
>> Index: pkg/PLIST
>> ===
>> RCS file: /cvs/ports/devel/py-simplejson/pkg/PLIST,v
>> retrieving revision 1.8
>> diff -u -p -r1.8 PLIST
>> --- pkg/PLIST22 Apr 2012 09:17:50 -  1.8
>> +++ pkg/PLIST4 Dec 2013 17:55:26 -
>> @@ -4,6 +4,8 @@ lib/python${MODPY_VERSION}/site-packages
>>  lib/python${MODPY_VERSION}/site-packages/simplejson/__init__.py
>>  lib/python${MODPY_VERSION}/site-packages/simplejson/__init__.pyc
>>  lib/python${MODPY_VERSION}/site-packages/simplejson/_speedups.so
>> +lib/python${MODPY_VERSION}/site-packages/simplejson/compat.py
>> +lib/python${MODPY_VERSION}/site-packages/simplejson/compat.pyc
>>  lib/python${MODPY_VERSION}/site-packages/simplejson/decoder.py
>>  lib/python${MODPY_VERSION}/site-packages/simplejson/decoder.pyc
>>  lib/python${MODPY_VERSION}/site-packages/simplejson/encoder.py
>> @@ -37,6 +39,8 @@ lib/python${MODPY_VERSION}/site-packages
>>  lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_fail.pyc
>>  lib/python${MODPY

pythontex question

2013-12-28 Thread Predrag Punosevac
I just tried to compile some pythontex code I wrote a while ago.

predrag@oko$ uname -a
OpenBSD oko.bagdala2.net 5.4 GENERIC.MP#44 i386

The first surprise was that the pythontex was not installed. I was under
impression that it was the part of TeXLive 2012? No big deal. I went and
did manual installation. 

However I am stuck now with the python problems

predrag@oko$ pythontex mama.tex
This is PythonTeX v0.12
Traceback (most recent call last):
  File "/home/predrag/.pythontex/pythontex.py", line 54, in 
pythontex.main()
  File "/home/predrag/.pythontex/pythontex2.py", line 2323, in main
do_multiprocessing(data, temp_data, old_data, engine_dict)
  File "/home/predrag/.pythontex/pythontex2.py", line 972, in
do_multiprocessing
pool = multiprocessing.Pool(max_processes)
  File "/usr/local/lib/python2.7/multiprocessing/__init__.py", line 232,
in Pool
return Pool(processes, initializer, initargs, maxtasksperchild)
  File "/usr/local/lib/python2.7/multiprocessing/pool.py", line 138, in
__init__
self._setup_queues()
  File "/usr/local/lib/python2.7/multiprocessing/pool.py", line 232, in
_setup_queues
from .queues import SimpleQueue
  File "/usr/local/lib/python2.7/multiprocessing/queues.py", line 48, in

from multiprocessing.synchronize import Lock, BoundedSemaphore,
Semaphore, Condition
  File "/usr/local/lib/python2.7/multiprocessing/synchronize.py", line
59, in 
" function, see issue 3770.")
ImportError: This platform lacks a functioning sem_open implementation,
therefore, the required synchronization primitives needed will not
function, see issue 3770.



A quick Google reveals that this might be Python problem specific to
pythontex package and the fact that most likely written on amd64
platform. Is this true? I know that there are some people who know
infinitely more about Python than me on this mailing list. 


Most Kind Regards,
Predrag

P.S. I just checked 

https://github.com/jasperla/openbsd-wip

and I am very excited that TeXLive seems to be ready (I will try to do
testing after the New Year) but I am even more excited that many core 
scientific Python ports will be finally updated. Any progress in
creating the flavor of scipy, numpy, and friends for Python 3.3.1?




Re: UPDATE: libvpx 1.2.0

2013-12-28 Thread Brad Smith

On 05/12/13 11:00 PM, Brad Smith wrote:

Here is an update to libvpx 1.2.0.

OK?


ping.


Index: Makefile
===
RCS file: /home/cvs/ports/multimedia/libvpx/Makefile,v
retrieving revision 1.12
diff -u -p -r1.12 Makefile
--- Makefile7 Aug 2013 21:32:15 -   1.12
+++ Makefile6 Dec 2013 02:54:49 -
@@ -2,15 +2,14 @@

  COMMENT=  Google VP8 video codec

-V= 1.1.0
+V= 1.2.0
  DISTNAME= libvpx-v${V}
  PKGNAME=  libvpx-${V}
-REVISION=  0
  CATEGORIES=   multimedia
  MASTER_SITES= https://webm.googlecode.com/files/
  EXTRACT_SUFX= .tar.bz2

-SHARED_LIBS=   vpx 4.0
+SHARED_LIBS=   vpx 4.1

  HOMEPAGE= http://www.webmproject.org/

@@ -35,7 +34,8 @@ MAKE_FLAGS=   LIBVPX_VERSION=${LIBvpx_VERS
  USE_GMAKE=Yes
  CONFIGURE_STYLE= simple
  CONFIGURE_ARGS+=--prefix=${PREFIX} \
-   --disable-optimizations
+   --disable-optimizations \
+   --disable-unit-tests
  CONFIGURE_ENV=LD="${CC}"

  NO_TEST=  Yes
Index: distinfo
===
RCS file: /home/cvs/ports/multimedia/libvpx/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo22 May 2012 18:22:50 -  1.5
+++ distinfo6 Dec 2013 02:38:23 -
@@ -1,5 +1,2 @@
-MD5 (libvpx-v1.1.0.tar.bz2) = euFjrDGWx57C8JBCgAeKRQ==
-RMD160 (libvpx-v1.1.0.tar.bz2) = b0YsFCGlGvd9NAHqTB6vDb6vR5E=
-SHA1 (libvpx-v1.1.0.tar.bz2) = NWr193DFDNAhxghjID2PMBZPYCE=
-SHA256 (libvpx-v1.1.0.tar.bz2) = nOB0z0s7zZpJ/5PgVIW3HCc7/DaFowXlWg5/pRvrcsU=
-SIZE (libvpx-v1.1.0.tar.bz2) = 1653485
+SHA256 (libvpx-v1.2.0.tar.bz2) = XvDGULLapiCF64EFp6QnPz6YfbU8Xsl/1R0bZRHlqgY=
+SIZE (libvpx-v1.2.0.tar.bz2) = 1714121
Index: patches/patch-build_make_Makefile
===
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-build_make_Makefile,v
retrieving revision 1.4
diff -u -p -r1.4 patch-build_make_Makefile
--- patches/patch-build_make_Makefile   28 Aug 2012 13:04:01 -  1.4
+++ patches/patch-build_make_Makefile   6 Dec 2013 02:44:18 -
@@ -1,7 +1,7 @@
  $OpenBSD: patch-build_make_Makefile,v 1.4 2012/08/28 13:04:01 fgsch Exp $
 build/make/Makefile.orig   Fri Jan 27 13:36:39 2012
-+++ build/make/MakefileSun Jan 29 21:11:03 2012
-@@ -247,8 +247,7 @@ define so_template
+--- build/make/Makefile.orig   Mon Oct 14 14:16:36 2013
 build/make/MakefileThu Dec  5 21:38:33 2013
+@@ -251,8 +251,7 @@ define so_template
   # This needs further abstraction for dealing with non-GNU linkers.
   $(1):
$(if $(quiet),@echo "[LD] $$@")
@@ -11,7 +11,7 @@ $OpenBSD: patch-build_make_Makefile,v 1.
   -Wl,--version-script,$$(SO_VERSION_SCRIPT) -o $$@ \
   $$(filter %.o,$$?) $$(extralibs)
   endef
-@@ -316,7 +315,7 @@ LIBS=$(call enabled,LIBS)
+@@ -320,7 +319,7 @@ LIBS=$(call enabled,LIBS)
   .libs: $(LIBS)
@touch $@
   $(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call 
archive_template,$(lib
Index: patches/patch-build_make_gen_asm_deps_sh
===
RCS file: 
/home/cvs/ports/multimedia/libvpx/patches/patch-build_make_gen_asm_deps_sh,v
retrieving revision 1.3
diff -u -p -r1.3 patch-build_make_gen_asm_deps_sh
--- patches/patch-build_make_gen_asm_deps_sh22 May 2012 18:22:50 -  
1.3
+++ patches/patch-build_make_gen_asm_deps_sh6 Dec 2013 01:37:14 -
@@ -7,12 +7,3 @@ $OpenBSD: patch-build_make_gen_asm_deps_
   ##
   ##  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
   ##
-@@ -42,7 +42,7 @@ done
-
- [ -n "$srcfile" ] || show_help
- sfx=${sfx:-asm}
--includes=$(LC_ALL=C egrep -i "include +\"?+[a-z0-9_/]+\.${sfx}" $srcfile |
-+includes=$(LC_ALL=C egrep -i "include +\"*[a-z0-9_/]+\.${sfx}" $srcfile |
-perl -p -e "s;.*?([a-z0-9_/]+.${sfx}).*;\1;")
- #" restore editor state
- for inc in ${includes}; do
Index: patches/patch-configure
===
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-configure,v
retrieving revision 1.7
diff -u -p -r1.7 patch-configure
--- patches/patch-configure 22 May 2012 18:22:50 -  1.7
+++ patches/patch-configure 6 Dec 2013 02:44:19 -
@@ -1,13 +1,13 @@
  $OpenBSD: patch-configure,v 1.7 2012/05/22 18:22:50 ajacoutot Exp $
 configure.orig Tue May  8 19:14:00 2012
-+++ configure  Wed May 16 17:07:35 2012
+--- configure.orig Mon Oct 14 14:16:36 2013
 configure  Thu Dec  5 21:42:57 2013
  @@ -1,4 +1,4 @@
  -#!/bin/bash
  +#!${BASH}
   ##
   ##  configure
   ##
-@@ -103,6 +103,7 @@ all_platforms="${all_platforms} ppc32-linux-gcc"
+@@ -104,6 +104,7 @@ all_platforms="${all_platforms} ppc32-linux-gcc"
   all_platforms="${all_platforms} ppc64-darwin8-gcc"
   all_platforms="${all_platforms} ppc64-darwin9-gcc"
   all_platform

Re: [update] py-simplejson

2013-12-28 Thread frantisek holop
ping?
multiple maintainer timeouts :[

-f

hmm, on Wed, Dec 04, 2013 at 06:58:45PM +0100, frantisek holop said that
> here is an update for py-simplejson 3.3.1
> i changed the DESCR because i feel it reflects better
> the current state of the project.
> please test and commit
> 
> -f
> -- 
> last week i couldn't even spell engineer, now i are one.

> Index: Makefile
> ===
> RCS file: /cvs/ports/devel/py-simplejson/Makefile,v
> retrieving revision 1.19
> diff -u -p -r1.19 Makefile
> --- Makefile  11 Mar 2013 10:50:26 -  1.19
> +++ Makefile  4 Dec 2013 17:55:26 -
> @@ -1,15 +1,13 @@
> -# $OpenBSD: Makefile,v 1.19 2013/03/11 10:50:26 espie Exp $
> +# $OpenBSD: Makefile,v 1.18 2012/04/22 09:17:50 jasper Exp $
>  
>  COMMENT =JSON encoder/decoder
>  
> -MODPY_EGG_VERSION =  2.5.0
> +MODPY_EGG_VERSION =  3.3.1
>  DISTNAME =   simplejson-${MODPY_EGG_VERSION}
>  PKGNAME =py-${DISTNAME}
> -
>  CATEGORIES = devel
>  
> -HOMEPAGE =   http://undefined.org/python/\#simplejson
> -
> +HOMEPAGE =   http://github.com/simplejson/simplejson
>  MAINTAINER = Martynas Venckus 
>  
>  # MIT
> @@ -18,11 +16,12 @@ PERMIT_PACKAGE_CDROM =Yes
>  MASTER_SITES =   ${MASTER_SITE_PYPI:=s/simplejson/}
>  
>  MODULES =lang/python
> -TEST_DEPENDS =   devel/py-nose
> +TEST_DEPENDS =   devel/py-nose
>  
>  WANTLIB +=   ${MODPY_WANTLIB}
>  
> -do-test:
> - cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests
> +do-test: fake
> + cd ${WRKSRC} && ${MAKE_ENV} \
> +PYTHONPATH=${WRKINST}${MODPY_SITEPKG} 
> ${LOCALBASE}/bin/nosetests
>  
>  .include 
> Index: distinfo
> ===
> RCS file: /cvs/ports/devel/py-simplejson/distinfo,v
> retrieving revision 1.8
> diff -u -p -r1.8 distinfo
> --- distinfo  22 Apr 2012 09:17:50 -  1.8
> +++ distinfo  4 Dec 2013 17:55:26 -
> @@ -1,5 +1,2 @@
> -MD5 (simplejson-2.5.0.tar.gz) = MWBVYiTj4M2WBcEB6w3juQ==
> -RMD160 (simplejson-2.5.0.tar.gz) = XfcYw9uYDxTBS8jPJ3qjKVHH42Q=
> -SHA1 (simplejson-2.5.0.tar.gz) = 52p694RfFv05dTmVolSWeGVxFTs=
> -SHA256 (simplejson-2.5.0.tar.gz) = 
> K89b7bUyilYzBFp9RnhNM5POlAyUnAkMr111ttMWNGY=
> -SIZE (simplejson-2.5.0.tar.gz) = 52834
> +SHA256 (simplejson-3.3.1.tar.gz) = 
> BUkm8qFuPxl05PcLwsZA5FZr7PMQPs9DQvqfses7odg=
> +SIZE (simplejson-3.3.1.tar.gz) = 67371
> Index: pkg/DESCR
> ===
> RCS file: /cvs/ports/devel/py-simplejson/pkg/DESCR,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 DESCR
> --- pkg/DESCR 24 Jun 2007 21:51:30 -  1.1.1.1
> +++ pkg/DESCR 4 Dec 2013 17:55:26 -
> @@ -1,8 +1,5 @@
> -Simplejson is a simple, fast, extensible JSON encoder/decoder for
> -Python.  It is compatible with Python 2.3 and later with no external
> -dependencies. It covers the full JSON specification for both encoding
> -and decoding, with unicode support.  The encoder may be subclassed
> -to provide serialization in any kind of situation, without any
> -special support by the objects to be serialized (somewhat like
> -pickle).  The decoder can handle incoming JSON strings of any
> -specified encoding.
> +Simplejson is the externally maintained development version of the
> +json library included with Python, but maintains backwards
> +compatibility with older Python versions.  It covers the full JSON
> +specification for both encoding and decoding, with unicode
> +support.
> Index: pkg/PLIST
> ===
> RCS file: /cvs/ports/devel/py-simplejson/pkg/PLIST,v
> retrieving revision 1.8
> diff -u -p -r1.8 PLIST
> --- pkg/PLIST 22 Apr 2012 09:17:50 -  1.8
> +++ pkg/PLIST 4 Dec 2013 17:55:26 -
> @@ -4,6 +4,8 @@ lib/python${MODPY_VERSION}/site-packages
>  lib/python${MODPY_VERSION}/site-packages/simplejson/__init__.py
>  lib/python${MODPY_VERSION}/site-packages/simplejson/__init__.pyc
>  lib/python${MODPY_VERSION}/site-packages/simplejson/_speedups.so
> +lib/python${MODPY_VERSION}/site-packages/simplejson/compat.py
> +lib/python${MODPY_VERSION}/site-packages/simplejson/compat.pyc
>  lib/python${MODPY_VERSION}/site-packages/simplejson/decoder.py
>  lib/python${MODPY_VERSION}/site-packages/simplejson/decoder.pyc
>  lib/python${MODPY_VERSION}/site-packages/simplejson/encoder.py
> @@ -37,6 +39,8 @@ lib/python${MODPY_VERSION}/site-packages
>  lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_fail.pyc
>  lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_float.py
>  lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_float.pyc
> +lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_for_json.py
> +lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_for_json.pyc
>  lib/python${MODPY_VERSION}/site-packages/simplejson/tests/test_indent.py
>  l

Re: [update] py-gdata

2013-12-28 Thread frantisek holop
another try for this easy update.
please test and commit.

-f
-- 
reach out /usr/bin/touch faith
Index: Makefile
===
RCS file: /cvs/ports/devel/py-gdata/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile7 Aug 2013 21:31:42 -   1.18
+++ Makefile28 Dec 2013 16:45:07 -
@@ -2,10 +2,9 @@
 
 COMMENT =  Python client library for Google data APIs
 
-MODPY_EGG_VERSION = 2.0.17
+MODPY_EGG_VERSION = 2.0.18
 DISTNAME = gdata-${MODPY_EGG_VERSION}
 PKGNAME =  py-gdata-${MODPY_EGG_VERSION}
-REVISION = 0
 CATEGORIES =   devel
 
 HOMEPAGE = https://code.google.com/p/gdata-python-client/
Index: distinfo
===
RCS file: /cvs/ports/devel/py-gdata/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo16 Jul 2012 13:15:05 -  1.10
+++ distinfo28 Dec 2013 16:45:07 -
@@ -1,2 +1,2 @@
-SHA256 (gdata-2.0.17.tar.gz) = rXInRTLXJjBHM8W/wBv/q4x6NM5+cw3u2Emuy2LFqi0=
-SIZE (gdata-2.0.17.tar.gz) = 2398047
+SHA256 (gdata-2.0.18.tar.gz) = VufSLegZwisTzrD+GGlym0KH+J671LtVOA17z2Gh/bY=
+SIZE (gdata-2.0.18.tar.gz) = 2475552