Add devel/py-msal: Microsoft Authentication Library (MSAL) for Python
The Microsoft Authentication Library for Python enables applications to
integrate with the Microsoft identity platform. It allows you to sign in users
or apps with Microsoft identities (Azure AD, Microsoft Accounts and Azure AD
B2C accounts) and obtain tokens to call Microsoft APIs such as Microsoft Graph
or your own APIs registered with the Microsoft identity platform. It is built
using industry standard OAuth2 and OpenID Connect protocols.
WWW: https://github.com/AzureAD/microsoft-authentication-library-for-python
Add py-watchgod 0.6
watchgod is a simple, modern file watching and code reload in python.
watchgod is inspired by watchdog, hence the name, but tries to fix some of the
frustrations I found with watchdog, namely: separate approaches for each OS, an
inelegant approach to concurrency using threading, challenges around debouncing
changes and bugs which weren't being fixed.
WWW: https://github.com/samuelcolvin/watchgod
New port: devel/rust-analyzer
Rust-analyzer is an implementation of Language Server Protocol for
the Rust programming language. It provides features like completion
and goto definition for many code editors.
WWW: https://rust-analyzer.github.io/
Add py-fluent 0.10.0
This is a Python implementation of Project Fluent, a localization framework
designed to unleash the entire expressive power of natural language
translations.
Project Fluent keeps simple things simple and makes complex things possible. The
syntax used for describing translations is easy to read and understand. At the
same time it allows, when necessary, to represent complex concepts from natural
languages like gender, plurals, conjugations, and others.
WWW: https://github.com/projectfluent/python-fluent
Add p5-File-HomeDir-Tiny 0.01
File::HomeDir::Tiny is useful for the 90% of the time that you only need 10% of
File::HomeDir's functionality. It depends on no other modules and consists of
just fourteen lines of code.
WWW: https://metacpan.org/release/File-HomeDir-Tiny
New port: devel/py-backports.shutil_which
This package packports Python 3's shutil.which.
Layout copied from kai@'s py-backports.os
Usage:
try:
from shutil import which
except ImportError:
from backports.shutil_which import which
WWW: https://github.com/minrk/backports.shutil_which
Used in an attempt to enable multimedia/streamlink on py27,
because sysutils/py-shutilwhich uses an incompatible layout.
Add py-l18n 2018.5
As you may have noticed, l18n is a contraction of i18n and l10n, namely
'internationalisation' and 'localization'. It basically provides lazy
translations for names used for localization purposes (e.g. places and
timezones).
I started writing l18n when I was looking for translations for the pytz library.
Indeed, on a multi-lingual site where users can select the timezone they are in,
it's much better if they can select in their language, as in some cases, the
differences with the english name can be significant, hence the place to look
for it when it's sorted in alphabetical order.
And as I am lazy, I thought of a way to - almost - automatically fetch the
translations from the CLDR (Unicode's Common Locale Data Repository) database.
Integrating function to link timezone to country codes, there was no reason not
to try and provide translations also for the latter. In the near future, I - or
contributors - may also add currencies or measurement units fetched from the
CLDR database ...
WWW: https://github.com/tkhyn/l18n
Add p5-Syntax-Keyword-Try 0.11
Syntax::Keyword::Try provides a syntax plugin that implements exception-handling
semantics in a form familiar to users of other languages, being built on a block
labeled with the try keyword, followed by at least one of a catch or finally
block.
As well as providing a handy syntax for this useful behaviour, this module also
serves to contain a number of code examples for how to implement parser plugins
and manipulate optrees to provide new syntax and behaviours for perl code.
WWW: https://metacpan.org/release/Syntax-Keyword-Try
Gbump is a Git tag semantic version bumper.
It will print the current semver version if any and the bumped version.
If the option -q (quiet) is used it will only print the bumped version.
If the option -t (tag) is used then it will create a git tag with the
bumped version.
WWW: https://github.com/nbari/gbump
PR: 242011
Submitted by: nbari@tequila.io
Approved by: ehaupt (mentor)
Add p5-Test-Auto 0.10
Test::Auto aims to provide, a standard for documenting Perl 5 software projects,
a framework writing tests, test automation, and documentation generation.
This framework lets you write documentation in test files using pod-like comment
blocks. By using a particular set of comment blocks (the specification) this
framework can run certain kinds of tests automatically. For example, we can
automatically ensure that the package the test is associated with is loadable,
that the test file comment blocks meet the specification, that any super-classes
or libraries are loadable, and that the functions, methods, and routines are
properly documented.
WWW: https://metacpan.org/release/Test-Auto
Add p5-routines 0.02
The routines pragma is used to provide typeable method and function signtures to
the calling package, as well as before, after, around, augment and override
method modifiers.
The registry pragma is used to associate the calling package with Type::Tiny
type libraries. A $registry variable is made available to the caller to be used
to access registry objects. The variable is a callback (i.e. coderef) which
should be called with a single argument, the namespace whose registry object you
want, otherwise the argument defaults to main.
WWW: https://metacpan.org/release/routines
Add p5-PPR 0.000026
The PPR module provides a single regular expression that defines a set of
independent subpatterns suitable for matching entire Perl documents, as well as
a wide range of individual syntactic components of Perl (i.e. statements,
expressions, control blocks, variables, etc.)
The regex does not "parse" Perl (that is, it does not build a syntax tree, like
the PPI module does). Instead it simply "recognizes" standard Perl constructs,
or new syntaxes composed from Perl constructs.
Its features and capabilities therefore complement those of the PPI module,
rather than replacing them. See "Comparison with PPI".
WWW: https://metacpan.org/release/PPR
Add p5-Keyword-Simple 0.04
Keyword::Simple lets you implement new keywords in pure Perl. To do this, you
need to write a module and call Keyword::Simple::define in your import method.
Any keywords defined this way will be available in the lexical scope that's
currently being compiled.
WWW: https://metacpan.org/release/Keyword-Simple
Add p5-Keyword-Declare 0.001017
Keyword::Declare implements a new Perl keyword: keyword, which you can use to
specify other new keywords.
Normally, to define new keywords in Perl, you either have to write them in XS
(shiver!) or use a module like Keyword::Simple or Keyword::API. Using any of
these approaches requires you to grab all the source code after the keyword,
manually parse out the components of the keyword's syntax, construct the
replacement source code, and then substitute it for the original source code you
just parsed.
Using Keyword::Declare, you define a new keyword by specifying its name and a
parameter list corresponding to the syntactic components that must follow the
keyword. You then use those parameters to construct and return the replacement
source code. The module takes care of setting up the keyword, and of the
associated syntax parsing, and of inserting the replacement source code in the
correct place.
WWW: https://metacpan.org/release/Keyword-Declare
Add p5-Data-Object-Struct 2.00
Data::Object::Struct provides a class that creates struct-like objects which
bundle attributes together, is immutable, and provides accessors, without having
to write an explicit class.
WWW: https://metacpan.org/release/Data-Object-Struct
Add p5-Data-Object-State 2.00
Data::Object::State provides an abstract base class for creating singleton
classes. This package is derived from Moo and makes consumers Moo classes (with
all that that entails). This package also injects a BUILD method which is
responsible for hooking into the build process and returning the appropriate
state.
WWW: https://metacpan.org/release/Data-Object-State
Add p5-Data-Object-Role-Tryable 2.00
Data::Object::Role::Tryable provides a wrapper around the Data::Object::Try
class which provides an object-oriented interface for performing complex
try/catch operations.
WWW: https://metacpan.org/release/Data-Object-Role-Tryable
Add p5-Data-Object-Role-Proxyable 2.03
Data::Object::Role::Proxyable provides a wrapper around the AUTOLOAD routine
which processes calls to routines which don't exist. Adding a build_proxy method
to the consuming class acts as a hook into routine dispatching, which processes
calls to routines which don't exist. The build_proxy routine is called as a
method and receives $self, $package, $method, and any arguments passed to the
method as a list of arguments, e.g. @args. The build_proxy method must return a
routine (i.e. a callback) or the undefined value which results in a "method
missing" error.
WWW: https://metacpan.org/release/Data-Object-Role-Proxyable
Add p5-Data-Object-Role-Errable 0.01
Data::Object::Role::Errable provides a mechanism for handling errors
(exceptions). It's a more structured approach to being "throwable". The idea is
that any object that consumes this role can set an error which automatically
throws an exception which if trapped includes the state (object as thrown) in
the exception context.
WWW: https://metacpan.org/release/Data-Object-Role-Errable
Add p5-Data-Object-Role-Buildable 0.03
Data::Object::Role::Buildable provides methods for hooking into object
construction of the consuming class, e.g. handling single-arg object
construction.
WWW: https://metacpan.org/release/Data-Object-Role-Buildable
Add p5-Data-Object-Role-Arguable 0.01
Data::Object::Role::Arguable provides a mechanism for unpacking an argument list
and creating a data structure suitable for passing to the consumer constructor.
The argslist routine should return a list of attribute names in the order to be
parsed. An attribute name maybe prefixed with "@" to denote that all remaining
items should be assigned to an arrayref, e.g. @options, or "%" to denote that
all remaining items should be assigned to a hashref, e.g. %options.
WWW: https://metacpan.org/release/Data-Object-Role-Arguable
Add p5-Data-Object-Data 2.01
Data::Object::Data provides methods for parsing and extracting pod-like sections
from any file or package. The pod-like syntax allows for using these sections
anywhere in the source code and having Perl properly ignoring them.
WWW: https://metacpan.org/release/Data-Object-Data
Add p5-Data-Object-Attributes 0.06
Data::Object::Attributes provides options for defining class attributes.
Specifically, this package wraps the has attribute keyword and adds shortcuts
and enhancements. If no directives are specified, the attribute is declared as
read-write and optional.
WWW: https://metacpan.org/release/Data-Object-Attributes
[NEW PORT] devel/simdjson: Parsing gigabytes of JSON per second
JSON is everywhere on the Internet. Servers spend a lot of time parsing it.
The simdjson library uses commonly available SIMD instructions and
microparallel algorithms to parse JSON 2.5 times faster than anything
else out there.
WWW: https://simdjson.org/
NOTA on Current, clang crashes on AMD processors before revision 359826. See:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245745
PR: 245744
Submitted by: Oleg Ginzburg <olevole at olevole dot ru>
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D24505
Add devel/py-azure-mgmt-core: Microsoft Azure Management Core Library for Python
Azure management core library defines extensions to Azure Core that are
specific to ARM (Azure Resource Management) needed when you use client
libraries.
As an end user, you don't need to manually install azure-mgmt-core because it
will be installed automatically when you install other SDKs.
WWW: https://pypi.org/project/azure-mgmt-core/
Add devel/py-azure-mgmt-redhatopenshift
Microsoft Azure Red Hat Openshift Management Client Library for Python
Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM).
WWW: https://pypi.org/project/azure-mgmt-redhatopenshift/
Welcome new bitkeeper port. Bitkeeper is a distributed VCS, used by
projects such as nwtime.org, the maintainers of ntp.
The port was orignally written by pfg. I applied tiny bit of spit and
polish to DEPENDS to bring it into the ports tree.
Obtained from: pfg
USES=lua gained flavors.
Ports using USES=lua:module or lua:flavors will be flavored. A range of
supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
for ports not supporting all lua versions.
USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
flavored lua ports, in a similar way as PHP or Python flavors.
PR: 245038
Submitted by: andrew tao11 riddles org uk
Reviewed by: mat, kevans, russ haley gmail com
Approved by: mat (portmgr)
Differential Revision: https://reviews.freebsd.org/D16494
New port: devel/git-bug
Fully featured git bug tracker that:
* Is fully embeded in git: you only need
your git repository to have a bug tracker.
* Is distributed: use your normal git remote
to collaborate, push and pull your bugs!
* Works offline: in a plane or under the sea?
Keep reading and writing bugs!
* Prevents vendor lock-in: your usual service
is down or went bad? You already have a full backup.
* Is fast: listing bugs or opening them is a matter
of milliseconds.
* Doesn't pollute your project: no files are added
in your project.
* Integrates with your tooling: use the UI you like
(CLI, terminal, web) or integrate with your existing
tools through the CLI or the GraphQL API.
* Bridges to other bug trackers: use bridges to import
and export to other trackers.
WWW: https://github.com/MichaelMure/git-bug
PR: 245578
Submitted by: Lewis Cook <vulcan@wired.sh>
devel/py-flynt: New port
flynt is a command line tool to automatically convert a project's
Python code from old "%-formatted" and .format(...) strings into
Python 3.6+'s "f-strings".
WWW: https://github.com/ikamensh/
Add py-pyyaml-include 1.2
pyyaml-include provides an extending constructor of PyYAML: include YAML files
into YAML document.
WWW: https://github.com/tanbro/pyyaml-include
Add py-pip-licenses 2.1.1
pip-licenses is a CLI tool for checking the software license of installed Python
packages with pip.
WWW: https://github.com/raimon49/pip-licenses
Add p5-Proc-Find-Parents 0.631
Return an array containing information about parent processes of $pid up to the
parent of all processes (usually "init"). If $pid is not mentioned, it defaults
to $$. The immediate parent is in the first element of array, followed by its
parent, and so on.
WWW: https://metacpan.org/release/Proc-Find-Parents
PR: 245445
Submitted by: Zane C. Bowers-Hadley <vvelox@vvelox.net>
[NEW] devel/g-wrap: Tool for generating function wrappers for Guile
G-Wrap is a tool (and guile library) for generating function wrappers
for inter-language calls. It currently only supports generating Guile
wrappers for C functions. Other languages may be supported in the
future, possibly on both sides.
WWW: http://www.nongnu.org/g-wrap/
PR: 241731
Submitted by: Andrew <andrew tao11 riddles org uk>
Differential Revision: D22189
Add py-intervals 0.8.1
Intervals can be initialized using the class constructor, various factory
methods or from_string class method. The recommended way is to use the factory
methods.
WWW: https://github.com/kvesteri/intervals
Add py-infinity 1.4
infinity provides all-in-one infinity value for Python. It can be compared to
any object.
WWW: https://github.com/kvesteri/infinity
New port: devel/sentry-cli
Sentry command line client for some generic tasks.
It can connect to the Sentry API and manage some
data for your projects. It's primarily used for
managing debug information files for iOS, Android
as well as release and source maps management for
other platforms.
WWW: https://docs.sentry.io/cli/
PR: 245337
Submitted by: Lewis Cook <vulcan@wired.sh>
Add py-python-json-logger 0.1.11
This library is provided to allow standard python logging to output log data as
json objects. With JSON we can make our logs more readable by machines and we
can stop writing custom parsers for syslog type records.
WWW: https://github.com/madzak/python-json-logger
Add py-nbdime 2.0.0
nbdime provides tools for diffing and merging of Jupyter Notebooks.
- nbdiff compare notebooks in a terminal-friendly way
- nbmerge three-way merge of notebooks with automatic conflict resolution
- nbdiff-web shows you a rich rendered diff of notebooks
- nbmerge-web gives you a web-based three-way merge tool for notebooks
- nbshow present a single notebook in a terminal-friendly way
WWW: https://github.com/jupyter/nbdime
Add py-jupyter-telemetry 0.0.5
Jupyter Telemetry enables Jupyter Applications (e.g. Jupyter Server, Jupyter
Notebook, JupyterLab, JupyterHub, etc.) to record events - i.e. actions by
application users - and transmit them to remote (or local) destinations as
structured data. It works with Python's standard logging library to handle the
transmission of events allowing users to send events to local files, over the
web, etc.
WWW: https://github.com/jupyter/telemetry
VOLK is a sub-project of GNU Radio. Please see http://libvolk.org for bug
tracking, documentation, source code, and contact information about VOLK.
VOLK is the Vector-Optimized Library of Kernels. It is a library that
contains kernels of hand-written SIMD code for different mathematical
operations. Since each SIMD architecture can be very different and no
compiler has yet come along to handle vectorization properly or highly
efficiently, VOLK approaches the problem differently.
For each architecture or platform that a developer wishes to vectorize for,
a new proto-kernel is added to VOLK. At runtime, VOLK will select the correct
proto-kernel. In this way, the users of VOLK call a kernel for performing
the operation that is platform/architecture agnostic. This allows us to
write portable SIMD code.
Bleeding edge code can be found in our git repository at
https://www.gnuradio.org/git/volk.git/.