Looks good to me. Cheers. Elias.
2018-09-15 12:03 GMT-03:00 Björn Ketelaars <bjorn.ketela...@hydroxide.nl>: > Enclosed a diff for bringing py-yenc to 0.4.0, which is meant to be > backward compatible with 0.3 [0]. Tested ok with its consumer > news/sabnzbd, and 'make test' runs successfully on amd64. > > - HOMEPAGE gives a 404. Instead use pip > - Drop MAINTAINER as mails bounce with 'message wasn't delivered to > osk...@sefirosu.org because the domain sefirosu.org couldn't be found' > - Drop patches as these have been addressed upstream > > ok? > > [0] https://bitbucket.org/dual75/yenc/overview > > > diff --git Makefile Makefile > index c7d3be8b0d8..10c8dd350c2 100644 > --- Makefile > +++ Makefile > @@ -2,26 +2,21 @@ > > COMMENT= yEnc encoding/decoding extension for Python > > -DISTNAME= yenc-0.3 > +MODPY_EGG_VERSION= 0.4.0 > +DISTNAME= yenc-${MODPY_EGG_VERSION} > PKGNAME= py-${DISTNAME} > -REVISION = 5 > CATEGORIES= news > > -HOMEPAGE= http://www.hellanzb.com/ > -MASTER_SITES= ${HOMEPAGE}hellanzb-content/ > - > -MAINTAINER= Mikko Tolmunen <osk...@sefirosu.org> > - > # GPLv2 > PERMIT_PACKAGE_CDROM= Yes > > -MODULES= lang/python > - > WANTLIB= pthread ${MODPY_WANTLIB} > > -TEST_DEPENDS= news/py-yenc > +MODULES= lang/python > +MODPY_PI= Yes > +MODPY_SETUPTOOLS= Yes > > -CFLAGS+= -g -O2 > +TEST_DEPENDS= news/py-yenc > > post-install: > ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-yenc > diff --git distinfo distinfo > index f47bd36b3fb..0ed668472d5 100644 > --- distinfo > +++ distinfo > @@ -1,2 +1,2 @@ > -SHA256 (yenc-0.3.tar.gz) = +wT+p8WCE0Vgj6AXKM5TVrbfstPkaeWeP9MbiPRfsxM= > -SIZE (yenc-0.3.tar.gz) = 42740 > +SHA256 (yenc-0.4.0.tar.gz) = LCSiSdYnr4zhylpLW9I3o0tshZ9x9V8LCe02n3Sf1Nk= > +SIZE (yenc-0.4.0.tar.gz) = 64237 > diff --git patches/patch-setup_py patches/patch-setup_py > deleted file mode 100644 > index af615d499ea..00000000000 > --- patches/patch-setup_py > +++ /dev/null > @@ -1,11 +0,0 @@ > -$OpenBSD: patch-setup_py,v 1.1.1.1 2007/12/17 00:57:35 merdely Exp $ > ---- setup.py.orig Fri Dec 14 06:50:56 2007 > -+++ setup.py Fri Dec 14 06:51:30 2007 > -@@ -38,6 +38,6 @@ setup( > - license = "GPL", > - package_dir = { '': 'lib' }, > - py_modules = ["yenc"], > -- ext_modules = > [Extension("_yenc",["src/_yenc.c"],extra_compile_args=["-O2","-g"])] > -+ ext_modules = [Extension("_yenc",["src/_yenc.c"])] > - ) > - > diff --git patches/patch-test_test_py patches/patch-test_test_py > deleted file mode 100644 > index f009533d0dd..00000000000 > --- patches/patch-test_test_py > +++ /dev/null > @@ -1,11 +0,0 @@ > ---- test/test.py.orig Thu Feb 19 01:11:46 2004 > -+++ test/test.py Tue Dec 11 19:36:46 2007 > -@@ -32,7 +32,7 @@ from binascii import crc32 > - from stat import * > - > - def main(): > -- os.system("dd if=/dev/urandom of=sampledata bs=1M count=1") > -+ os.system("dd if=/dev/urandom of=sampledata bs=1048576 count=1") > - file_in = open("sampledata","r") > - file_out = open("sampledata.out","w") > - data = file_in.read() > diff --git pkg/PLIST pkg/PLIST > index 07c9a77664a..74b5626aea2 100644 > --- pkg/PLIST > +++ pkg/PLIST > @@ -1,14 +1,19 @@ > @comment $OpenBSD: PLIST,v 1.1.1.1 2007/12/17 00:57:35 merdely Exp $ > lib/python${MODPY_VERSION}/site-packages/_yenc.so > -lib/python${MODPY_VERSION}/site-packages/yenc-0.3-py${MODPY_VERSION}.egg-info > +lib/python${MODPY_VERSION}/site-packages/yenc-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ > +lib/python${MODPY_VERSION}/site-packages/yenc-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO > +lib/python${MODPY_VERSION}/site-packages/yenc-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt > +lib/python${MODPY_VERSION}/site-packages/yenc-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt > +lib/python${MODPY_VERSION}/site-packages/yenc-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt > lib/python${MODPY_VERSION}/site-packages/yenc.py > lib/python${MODPY_VERSION}/site-packages/yenc.pyc > -share/doc/py-yenc/ > -share/doc/py-yenc/README > -share/doc/py-yenc/yenc-draft.1.3.txt > -share/examples/py-yenc/ > -share/examples/py-yenc/logo.ync > -share/examples/py-yenc/ydecode.py > -share/examples/py-yenc/ydecode_Decoder.py > -share/examples/py-yenc/yencode.py > -share/examples/py-yenc/yencode_Encoder.py > +share/doc/${MODPY_PY_PREFIX}yenc/ > +share/doc/${MODPY_PY_PREFIX}yenc/README > +share/doc/${MODPY_PY_PREFIX}yenc/yenc-draft.1.3.txt > +share/examples/${MODPY_PY_PREFIX}yenc/ > +share/examples/${MODPY_PY_PREFIX}yenc/logo.gif > +share/examples/${MODPY_PY_PREFIX}yenc/logo.ync > +share/examples/${MODPY_PY_PREFIX}yenc/ydecode.py > +share/examples/${MODPY_PY_PREFIX}yenc/ydecode_Decoder.py > +share/examples/${MODPY_PY_PREFIX}yenc/yencode.py > +share/examples/${MODPY_PY_PREFIX}yenc/yencode_Encoder.py >