From: Libor Ukropec <ace@seznam.cz>
To: cygwin-apps@cygwin.com
Subject: Re: [ITA] duplicity
Date: Thu, 7 Apr 2022 21:39:19 +0200 [thread overview]
Message-ID: <a1d04d0d-b56b-f29d-b392-4c493677acd1@seznam.cz> (raw)
In-Reply-To: <accdd2f6-33a3-bd9a-c404-634c9b70d257@SystematicSw.ab.ca>
Hi Brian,
Dne 07.04.2022 v 1:40 Brian Inglis napsal(a):
> On 2022-04-06 16:10, Libor Ukropec wrote:
>> I'd like to offer to adopt maintenance of duplicity (Encrypted
>> bandwidth-efficient backup system)
>> Information from https://duplicity.gitlab.io/ - """The last stable 0.7
>> release is *0.7.19*, released Apr 19, 2019""", while cygwin contains
>> 0.7.11 from 2017
>> Updated cygport:
>> https://github.com/cz6ace/cygwin-duplicity
>
> You need to define BUILD_REQUIRES and list all Cygwin packages needed to
> build this package:
>
> https://cygwin.github.io/cygport/check_funcs_cygpart.html#robo791
>
> Use BUILD_REQUIRES+=" ..." for additional lines of packages.
>
>> Updated build:
>> https://github.com/cz6ace/cygwin-duplicity/releases
>
> See:
>
> https://cygwin.com/git/cygwin-packages/duplicity.git
This repository was my starting point, I just increased the version and
prepared the package (below) for the new python dependency (fasterners).
I did not see on the contribution page any mention to the `playground`
thing and an automation - will try that, once my SSH key is added.
As my first contribution to cygwin I wanted to start with small steps
and stay with 0.7 duplicity, which still depends on the Python 2.7
>
> You can clone the repo for the original files, checkout a playground
> branch, commit your changes and patches (and any extra source files),
> define the upstream playground branch, and push your changes there,
> which will run Scallywag CI under Github Actions (or Appveyor if you
> configure that cygport option).
>
>> Please note for successful installation the python 2.7 fasteners
>> package is required, not yet in cygwin, I plan to offer [ITP] for it:
>> cygport:
>> https://github.com/cz6ace/cygwin-python-fasteners
>> build:
>> https://github.com/cz6ace/cygwin-python-fasteners/releases
>
> Need to support python3/39 now: see python package cygports in
> cygwin-packages repos as above!
Is it a must at this moment? As I stated above, duplicity 0.7.x requires
Python 2.7
I changed the `inherit` to python-wheel, which should support 2.7,3.8, 3.9:
inherit python-wheel
PYTHON_WHEEL_VERSIONS="2.7:3.8:3.9"
But the cygport does not create the tar.cz archive for 2.7 and fails with
... <shortened the list>
-usr/lib/python2.7/site-packages/fasteners/version.py
...
*** ERROR: Packages are missing files:
I tried previous cygport version, but it fails creating python 3.7 package.
I'll try to look to cygport sources if I am able to see something, which
I doubt.
>
>> Python standard library provides a lock for threads (both a reentrant
>> one, and a non-reentrant one, see below). Fasteners extends this, and
>> provides a lock for processes, as well as Reader Writer locks for both
>> threads and processes.
>>
>> This library (in newer version) is also present in LInux
>> distributions, e.g. Ubuntu:
>> https://packages.ubuntu.com/source/focal/s390x/python-fasteners
>
next prev parent reply other threads:[~2022-04-07 19:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 22:10 Libor Ukropec
2022-04-06 23:40 ` Brian Inglis
2022-04-07 19:39 ` Libor Ukropec [this message]
2022-04-07 22:26 ` Libor Ukropec
2022-04-07 23:44 ` Brian Inglis
2022-04-10 18:26 ` Libor Ukropec
2022-04-12 0:09 ` Libor Ukropec
2022-04-12 13:10 ` Jon Turney
2022-04-12 19:24 ` Libor Ukropec
2022-04-12 16:56 ` Achim Gratz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a1d04d0d-b56b-f29d-b392-4c493677acd1@seznam.cz \
--to=ace@seznam.cz \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).