BSD Ports

devel/py-pendulum 3.2.0_6 FreeBSD

Python package to ease datetimes manipulation

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
MIT
Categories
devel, python
Package size
369.3 KiB, 1663.5 KiB installed

Description

Native datetime instances are enough for basic cases but when you face more complex use-cases they often show limitations and are not so intuitive to work with. Pendulum provides a cleaner and more easy to use API while still relying on the standard library. So it's still datetime but better.

Unlike other datetime libraries for Python, Pendulum is a drop-in replacement for the standard datetime class (it inherits from it), so, basically, you can replace all your datetime instances by DateTime instances in your code (exceptions exist for libraries that check the type of the objects by using the type function like sqlite3 or PyMySQL for instance).

It also removes the notion of naive datetimes: each Pendulum instance is timezone-aware and by default in UTC for ease of use.

Pendulum also improves the standard timedelta class by providing more intuitive methods and properties.

In the other systems

SystemPortVersion
FreeBSDdevel/py-pendulum3.2.0_6
DragonFlydevel/py-pendulum3.0.0
MidnightBSDdevel/py-pendulum2.1.1_1

Install

Binary package:

pkg install py312-pendulum

From the ports tree:

cd /usr/ports/devel/py-pendulum/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-pendulum>0:devel/py-pendulum

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.2.0_53.2.0_62.1.1_13.1.0_23.2.0_6
FreeBSD:14:quarterly3.2.0_53.2.0_5n/a3.1.0_13.2.0_5
FreeBSD:15:latest3.2.0_63.2.0_6n/a3.1.0_23.1.0_2
FreeBSD:15:quarterly3.2.0_53.2.0_5n/an/an/a
FreeBSD:16:latest3.2.0_53.2.0_6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 23
Run dependencies 11

Configuration

No options to configure.

USES
cargo python
Service scripts
none

Files

distinfo 24
FileSizeSHA256
pendulum-3.2.0.tar.gz86912e80feda2d10fa3ff8b1526715f7d33dcb7e08494b3088f2c8a3ac92d4a4331ce
rust/crates/autocfg-1.5.0.crate18729c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8
rust/crates/cc-1.2.55.crate9375647b26a0954ae34af09b50f0de26458fa95369a0d478d8236d3f93082b219bd29
rust/crates/find-msvc-tools-0.1.9.crate314935baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582
rust/crates/heck-0.5.0.crate115172304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea
rust/crates/indoc-2.0.7.crate1718479cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706
rust/crates/libc-0.2.180.crate812207bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc
rust/crates/memoffset-0.9.1.crate9032488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a
rust/crates/once_cell-1.21.3.crate3453442f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d
rust/crates/portable-atomic-1.13.0.crate195086f89776e4d69bb58bc6993e99ffa1d11f228b839984854c7daeb5d37f87cbe950
rust/crates/proc-macro2-1.0.106.crate597658fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934
rust/crates/pyo3-0.27.2.crate1.171342e+06ab53c047fcd1a1d2a8820fe84f05d6be69e9526be40cb03b73f86b6b03e6d87d
rust/crates/pyo3-build-config-0.27.2.crate35564b455933107de8642b4487ed26d912c2d899dec6114884214a0b3bb3be9261ea6
rust/crates/pyo3-ffi-0.27.2.crate785521c85c9cbfaddf651b1221594209aed57e9e5cff63c4d11d1feead529b872a089
rust/crates/pyo3-macros-0.27.2.crate89130a5b10c9bf9888125d917fb4d2ca2d25c8df94c7ab5a52e13313a07e050a3b02
rust/crates/pyo3-macros-backend-0.27.2.crate8251303b51720d314836e53327f5871d4c0cfb4fb37cc2c4a11cc71907a86342c40f9
rust/crates/python3-dll-a-0.2.14.crate103489d381ef313ae70b4da5f95f8a4de773c6aa5cd28f73adec4b4a31df70b66780d8
rust/crates/quote-1.0.44.crate3162921b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4
rust/crates/rustversion-1.0.22.crate21096b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d
rust/crates/shlex-1.3.0.crate187130fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64
Master sites 1
  • PYPI

Commit history 3

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645