Re: Using pkg in documentation

2020-04-27 Thread Baptiste Daroussin
On Mon, Apr 27, 2020 at 08:23:09AM +0200, Miroslav Lachman wrote:
> On 2020-04-26 21:37, Muhammad Moinur Rahman wrote:
> > What is the way of mentioning about installing a py-package in 
> > documentation? Let’s say now the default version of python is 3.7 so in 
> > most of the cases we can write in our documentation that do the following:
> > # pkg install py37-babel
> 
> You can use following form too:
> pkg install devel/py-babel
> 
Which would install all flavor of py*-babel imho thta is wrong

Best regards,
Bapt


signature.asc
Description: PGP signature


Re: Using pkg in documentation

2020-04-27 Thread Miroslav Lachman

On 2020-04-27 09:10, Baptiste Daroussin wrote:

On Mon, Apr 27, 2020 at 08:23:09AM +0200, Miroslav Lachman wrote:

On 2020-04-26 21:37, Muhammad Moinur Rahman wrote:

What is the way of mentioning about installing a py-package in documentation? 
Let’s say now the default version of python is 3.7 so in most of the cases we 
can write in our documentation that do the following:
# pkg install py37-babel


You can use following form too:
 pkg install devel/py-babel


Which would install all flavor of py*-babel imho thta is wrong


You are right. My bad. I am using it with private repo where only one 
flavor exists.


Miroslav Lachman

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


Re: Using pkg in documentation

2020-04-27 Thread Muhammad Moinur Rahman


> On 27 Apr, 2020, at 05:54, Samy Mahmoudi  wrote:
> 
> Hi,
> 
> What about using the meta-port lang/python ? You could write something like
> the following lines in your documentation:
> PY=`pkg rquery -r FreeBSD "%dn" lang/python | head -n 1 | sed "s/python//"`
> pkg install py${PY}-babel
> 
> "-r FreeBSD" can indeed be ommited in a default configuration where the
> user has not configured several repositories. As you cannot guarantee that
> last condition is met, I would suggest not to omit that part.
> 
> I hope this will help,
> Samy Mahmoudi
> ___
> freebsd-po...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org”

That’s one possible way of doing it. But we don’t have a meta port for php so 
it’s not going to work for that. I am looking for a uniform way of doing it.

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


[Bug 241564] [NEW PORT] textproc/py-iso-639: Python library for ISO 639 standard

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241564

Matthias Andree  changed:

   What|Removed |Added

   See Also||https://github.com/noumar/i
   ||so639/issues/8

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


[Bug 245252] devel/py-twisted: Update to 20.3.0 (includes security updates)

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245252

--- Comment #10 from commit-h...@freebsd.org ---
A commit references this bug:

Author: dbaio
Date: Mon Apr 27 12:01:24 UTC 2020
New revision: 533127
URL: https://svnweb.freebsd.org/changeset/ports/533127

Log:
  MFH: r533065

  devel/py-twisted: Update to 20.3.0, Fix security vulnerabilities

  Add extra_require dependencies as options, enabled by default.

  Changelog:https://github.com/twisted/twisted/blob/twisted-20.3.0/NEWS.rst

  PR:   245252
  Exp-run by:   antoine
  Submitted by: cont...@evilham.com
  Submitted by: dereks_lifeofadishwasher.com
  Security: 9fbaefb3-837e-11ea-b5b4-641c67a117d8
  Differential Revision:https://reviews.freebsd.org/D24186

  Approved by:  ports-secteam (joneum)

Changes:
_U  branches/2020Q2/
  branches/2020Q2/devel/py-twisted/Makefile
  branches/2020Q2/devel/py-twisted/distinfo

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


[Bug 245252] devel/py-twisted: Update to 20.3.0 (includes security updates)

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245252

Danilo G. Baio  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|In Progress |Closed
  Flags|maintainer-feedback?(python |maintainer-feedback+,
   |@FreeBSD.org),  |merge-quarterly+
   |merge-quarterly?|

--- Comment #11 from Danilo G. Baio  ---
Committed, thank you all.

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


[Bug 241566] [NEW PORT] net/streamlink: Command-line utility that pipes video streams

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241566

--- Comment #15 from commit-h...@freebsd.org ---
A commit references this bug:

Author: mandree
Date: Mon Apr 27 12:57:24 UTC 2020
New revision: 533133
URL: https://svnweb.freebsd.org/changeset/ports/533133

Log:
  New port multimedia/streamlink 1.4.1.
  
  Streamlink is a command-line utility that pipes video streams from various
  services into a video player, such as VLC.

  The main purpose of Streamlink is to allow the user to avoid buggy and CPU
  heavy flash plugins but still be able to enjoy various streamed content.

  There is also an API available for developers who want access to the video
  stream data.

  This project was forked from Livestreamer, which is no longer maintained.

  WWW: https://streamlink.github.io/
  

  Over the original submission, add these changes:
  - limit to Python 3.5+ because 241566 was lacking the four requisites
(one not even in the ports tree before) needed additionally on 2.7,
and upstream deprecated Python 2.7 support
  - add support for make test (TEST_DEPENDS=, do-test:)
  - add a PYCOUNTRY port option with a "magic" default that will be enabled
while textproc/py-iso3166 (new -> Bugzilla #241565) is missing and use
py-country instead of py-iso-639 and py-iso3166.
So this port no longer depends on PR 241565.

  PR:   241566
  Submitted by: tak...@airport.fm (new maintainer)

Changes:
  head/multimedia/Makefile
  head/multimedia/streamlink/
  head/multimedia/streamlink/Makefile
  head/multimedia/streamlink/distinfo
  head/multimedia/streamlink/pkg-descr

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


[Bug 241566] [NEW PORT] net/streamlink: Command-line utility that pipes video streams

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241566

Matthias Andree  changed:

   What|Removed |Added

 Depends on|241565  |

--- Comment #16 from Matthias Andree  ---
I've updated the port to 1.4.1 and added a few items, see the commit message.


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241565
[Bug 241565] [NEW PORT] textproc/py-iso3166: Standalone ISO 3166-1 country
definitions
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 241565] [NEW PORT] textproc/py-iso3166: Standalone ISO 3166-1 country definitions

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241565

Matthias Andree  changed:

   What|Removed |Added

 Blocks|241566  |


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241566
[Bug 241566] [NEW PORT] net/streamlink: Command-line utility that pipes video
streams
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 241566] [NEW PORT] net/streamlink: Command-line utility that pipes video streams

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241566

Matthias Andree  changed:

   What|Removed |Added

 Status|Open|Closed
 Resolution|--- |FIXED

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


[Bug 241566] [NEW PORT] net/streamlink: Command-line utility that pipes video streams

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241566

--- Comment #17 from Matthias Andree  ---
I've had to add py-pysocks as a requisite and also added (default enabled)
FFMPEG and RTMPDUMP options with further run-depends. PORTREVISION=1, r533145,
see https://streamlink.github.io/install.html#dependencies

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


[Bug 241566] [NEW PORT] net/streamlink: Command-line utility that pipes video streams

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241566

Matthias Andree  changed:

   What|Removed |Added

   Assignee|ports-b...@freebsd.org  |mand...@freebsd.org

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


[Bug 241566] [NEW PORT] net/streamlink: Command-line utility that pipes video streams

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241566

--- Comment #18 from Matthias Andree  ---
Created attachment 213860
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=213860&action=edit
minimal tox.ini for future reference

For future reference, this is a minimal working tox.ini file. To use this in
tests, copy it into ${WRKSRC} and then just run "tox".

Also, in order to run tests from poudriere, you'd need to add a "-B" to
${PYTHON_CMD} and add a BUILD_DEPENDS=${RUN_DEPENDS} ${TEST_DEPENDS} line.

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


[Bug 245755] [NEW PORT] devel/py-pyotp2289 Pure Python implementation of RFC-2289 - "A One-Time Password System"

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245755

Danilo G. Baio  changed:

   What|Removed |Added

 CC||db...@freebsd.org
   Assignee|ports-b...@freebsd.org  |db...@freebsd.org

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


[Bug 245755] [NEW PORT] devel/py-pyotp2289 Pure Python implementation of RFC-2289 - "A One-Time Password System"

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245755

--- Comment #7 from commit-h...@freebsd.org ---
A commit references this bug:

Author: dbaio
Date: Mon Apr 27 23:50:55 UTC 2020
New revision: 54077
URL: https://svnweb.freebsd.org/changeset/doc/54077

Log:
  Add Simeon Simeonov to contributors

  Maintainer of:security/py-pyotp2289

  PR:   245755

Changes:
  head/en_US.ISO8859-1/articles/contributors/contrib.additional.xml

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


[Bug 245755] [NEW PORT] devel/py-pyotp2289 Pure Python implementation of RFC-2289 - "A One-Time Password System"

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245755

--- Comment #6 from commit-h...@freebsd.org ---
A commit references this bug:

Author: dbaio
Date: Mon Apr 27 23:50:17 UTC 2020
New revision: 533214
URL: https://svnweb.freebsd.org/changeset/ports/533214

Log:
  Add security/py-pyotp2289

  Pure Python implementation of RFC-2289 - "A One-Time Password System"

  "The system provides authentication for system access (login) and other
  applications requiring authentication that is secure against passive attacks
  based on replaying captured reusable passwords. OTP evolved from the S/KEY
  (S/KEY is a trademark of Bellcore) One-Time Password System that was released
  by Bellcore."

  WWW: https://github.com/blackm0re/pyotp2289

  PR:   245755
  Submitted by: Simeon Simeonov 

Changes:
  head/security/Makefile
  head/security/py-pyotp2289/
  head/security/py-pyotp2289/Makefile
  head/security/py-pyotp2289/distinfo
  head/security/py-pyotp2289/pkg-descr

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


[Bug 245755] [NEW PORT] devel/py-pyotp2289 Pure Python implementation of RFC-2289 - "A One-Time Password System"

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245755

Danilo G. Baio  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|Open|Closed
   Keywords|needs-qa|

--- Comment #8 from Danilo G. Baio  ---
Committed, thanks for your contribution.

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


[Bug 245775] graphics/py-python-poppler-qt5: Update GitHub repo

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245775

Danilo G. Baio  changed:

   What|Removed |Added

   Assignee|ports-b...@freebsd.org  |db...@freebsd.org
 CC||db...@freebsd.org

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


[Bug 245775] graphics/py-python-poppler-qt5: Update GitHub repo

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245775

--- Comment #6 from commit-h...@freebsd.org ---
A commit references this bug:

Author: dbaio
Date: Tue Apr 28 00:01:16 UTC 2020
New revision: 533215
URL: https://svnweb.freebsd.org/changeset/ports/533215

Log:
  graphics/py-python-poppler-qt5: Update GitHub repository

  Moved from a personal to a project's account.
  No contents changed.

  PR:   245775
  Submitted by: m...@gmx.net (maintainer)

Changes:
  head/graphics/py-python-poppler-qt5/Makefile
  head/graphics/py-python-poppler-qt5/distinfo

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


[Bug 245775] graphics/py-python-poppler-qt5: Update GitHub repo

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245775

Danilo G. Baio  changed:

   What|Removed |Added

 Status|Open|Closed
 Resolution|--- |FIXED
  Flags|merge-quarterly?|merge-quarterly-

--- Comment #7 from Danilo G. Baio  ---
MFH doesn't seem necessary right now.

Committed, thanks!

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


[Bug 241566] [NEW PORT] net/streamlink: Command-line utility that pipes video streams

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241566

--- Comment #19 from VVD  ---
*** Bug 240777 has been marked as a duplicate of this bug. ***

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


[Bug 240820] www/py-django111: SQLite backend broken after 3.26

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240820

Kubilay Kocak  changed:

   What|Removed |Added

  Flags|maintainer-feedback?(python |maintainer-feedback+,
   |@FreeBSD.org),  |maintainer-feedback+
   |maintainer-feedback?(kai@Fr |
   |eeBSD.org)  |
   Keywords|needs-qa|
   Assignee|pyt...@freebsd.org  |k...@freebsd.org

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


[Bug 243766] lang/rust: Fails to build when Python (lang/python37) environment has no lzma module

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243766

--- Comment #11 from commit-h...@freebsd.org ---
A commit references this bug:

Author: tobik
Date: Tue Apr 28 04:33:36 UTC 2020
New revision: 533234
URL: https://svnweb.freebsd.org/changeset/ports/533234

Log:
  lang/rust: Let the framework extract the bootstraps

  It is possible for lang/python37 to be built in such a way that it
  installs an unloadable lzma module which then causes Rust to fallback
  to trying to fetch/extract the tar.gz bootstraps instead.

  As a workaround and since it also simplifies some things, let the
  ports framework extract the bootstraps and "install" them under
  WRKDIR.  We point the build to them in config.toml.  This is similar
  to how things are hooked up in lang/rust-bootstrap and Rust will
  then not try to fetch and extract the bootstraps on its own.

  PR:   243766
  Reviewed by:  mikael
  Differential Revision:https://reviews.freebsd.org/D24582

Changes:
  head/lang/rust/Makefile

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


[Bug 243817] lang/python37: Fails to link _lzma.so: Undefined symbol "lzma_check_is_supported"

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243817

Tobias Kortkamp  changed:

   What|Removed |Added

 Blocks|243766  |


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243766
[Bug 243766] lang/rust: Fails to build when Python (lang/python37) environment
has no lzma module
-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 243766] lang/rust: Fails to build when Python (lang/python37) environment has no lzma module

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243766

Tobias Kortkamp  changed:

   What|Removed |Added

 Status|Open|Closed
 Depends on|243817  |
 Resolution|--- |FIXED


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243817
[Bug 243817] lang/python37: Fails to link _lzma.so: Undefined symbol
"lzma_check_is_supported"
-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 245411] sysutils/py-salt: update crypto dependency to security/py-pycryptodome

2020-04-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245411

Dani  changed:

   What|Removed |Added

 CC||i.d...@outlook.com

--- Comment #1 from Dani  ---
This will be fixed upstream, pretty sure in the next release. See:
https://github.com/saltstack/salt/pull/56625

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