mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
devel/py-sqids: new port had been added (+)
Python module to generate YouTube-like IDs from numbers. WWW: https://sqids.org/python
This commit is contained in:
parent
ae03dfaa96
commit
5a63c352e6
@ -5644,6 +5644,7 @@
|
||||
SUBDIR += py-speg
|
||||
SUBDIR += py-spyder-kernels
|
||||
SUBDIR += py-spyder-unittest
|
||||
SUBDIR += py-sqids
|
||||
SUBDIR += py-squint
|
||||
SUBDIR += py-sre-yield
|
||||
SUBDIR += py-srsly
|
||||
|
20
devel/py-sqids/Makefile
Normal file
20
devel/py-sqids/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
PORTNAME= sqids
|
||||
PORTVERSION= 0.4.1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= python@FreeBSD.org
|
||||
COMMENT= Generate YouTube-like IDs from numbers
|
||||
WWW= https://sqids.org/python
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist pep517
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/py-sqids/distinfo
Normal file
3
devel/py-sqids/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1699862631
|
||||
SHA256 (sqids-0.4.1.tar.gz) = ffc3fbfef63491bee8b940a98065388345dbefb06d49e415b7a9e475ca200f9d
|
||||
SIZE (sqids-0.4.1.tar.gz) = 14060
|
15
devel/py-sqids/pkg-descr
Normal file
15
devel/py-sqids/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
Sqids (pronounced "squids") is a small library that lets one generate
|
||||
YouTube-like unique IDs from numbers. It is good for link shortening,
|
||||
fast and URL-safe ID generation, and decoding back into numbers for
|
||||
quicker database lookups.
|
||||
|
||||
Good for:
|
||||
|
||||
- Generating IDs for public URLs (e.g. link shortening)
|
||||
- Generating IDs for internal systems (e.g. event tracking)
|
||||
- Decoding for quicker database lookups (e.g. by primary keys)
|
||||
|
||||
Not good for:
|
||||
|
||||
- Sensitive data (this is not an encryption library)
|
||||
- User IDs (can be decoded revealing user count)
|
Loading…
Reference in New Issue
Block a user