Thursday, February 27, 2020

Re: [new] synapse-1.11.0

On Thu, Feb 27, 2020 at 08:29:22AM +0100, Landry Breuil wrote:
> On Wed, Feb 26, 2020 at 11:31:39PM +0000, Stuart Henderson wrote:
> > On 2020/02/26 23:29, Stuart Henderson wrote:
> > > On 2020/02/26 14:57, Renaud Allard wrote:
> > > > If I attach the tarball, it will be better.
> > > >
> > > > On 2/26/20 2:03 PM, Renaud Allard wrote:
> > > > > Hello,
> > > > >
> > > > > Here is a port (python3 only) for matrix synapse server
> > > > >
> > > > > Best Regards
> > > > >
> > >
> > >
> > >
> > >
> > > We have settled on
> > >
> > > FLAVORS = python3
> > > FLAVOR = python3
> > >
> > > for py3-only ports.
> > >
> >
> > Actually I should add ...
> >
> > That is for py3-only "py-whatever" (i.e. python module) ports (and then those
> > shouldn't have MODPY_VERSION).
> >
> > For the "main application" that would still be unflavoured /
> > MODPY_VERSION = MODPY_DEFAULT_VERSION_3
>
> right, here's a tarball with those fixed, and among other bits:
>
> - updated PLIST for synapse
> - used pypi for signedjson
> - fixed deps to properly use MODPY_FLAVOR
> - fixed spaces after vars in Makefiles
>
> packages and installs fine, not yet at runtime testing.

an update of PLISTs is needed everywhere, as some bits are missing here
and there and some dirs can go away.

a fileisnt packaged in signedjson :

File "/usr/local/lib/python3.7/site-packages/signedjson/key.py", line 23, in <module>
from signedjson.types import SigningKey, VerifyKey
ModuleNotFoundError: No module named 'signedjson.types'

--- pkg/PLIST.orig Thu Feb 27 18:22:29 2020
+++ pkg/PLIST Thu Feb 27 18:41:53 2020
@@ -1,6 +1,4 @@
@comment $OpenBSD: PLIST,v$
-lib/python${MODPY_VERSION}/
-lib/python${MODPY_VERSION}/site-packages/
lib/python${MODPY_VERSION}/site-packages/signedjson/
lib/python${MODPY_VERSION}/site-packages/signedjson-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/signedjson-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
@@ -13,5 +11,7 @@
lib/python${MODPY_VERSION}/site-packages/signedjson/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/signedjson/${MODPY_PYCACHE}key.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/signedjson/${MODPY_PYCACHE}sign.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/signedjson/${MODPY_PYCACHE}types.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/signedjson/key.py
lib/python${MODPY_VERSION}/site-packages/signedjson/sign.py
+lib/python${MODPY_VERSION}/site-packages/signedjson/types.py

also in the tarball i sent, the dependency on py-libnacl lacks ${MODPY_FLAVOR}

with that, i've been able to generate a sample config and start the server
(with all pkgs backported to 6.6).

new tarball attached with PLISTs regenerated, i've left the PLIST.orig files on
purpose toshow the discrepancies.

Landry
>
> Landry

No comments:

Post a Comment