summaryrefslogtreecommitdiffstats
path: root/python/python-shortuuid.spec
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2021-12-10 10:38:15 -0800
committerMichel Alexandre Salim <salimma@fedoraproject.org>2021-12-10 10:38:15 -0800
commit825897637bac9a5f20db118be6b79acbe0348a44 (patch)
treee1f44bb0954bfbec2073cae2f064d5930e28497b /python/python-shortuuid.spec
parentd93f46605f41e6d57d511faeed14b87a4f14b5a7 (diff)
downloadspecs-825897637bac9a5f20db118be6b79acbe0348a44.tar.gz
specs-825897637bac9a5f20db118be6b79acbe0348a44.tar.xz
specs-825897637bac9a5f20db118be6b79acbe0348a44.zip
- python-shortuuid
Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
Diffstat (limited to 'python/python-shortuuid.spec')
-rw-r--r--python/python-shortuuid.spec67
1 files changed, 0 insertions, 67 deletions
diff --git a/python/python-shortuuid.spec b/python/python-shortuuid.spec
deleted file mode 100644
index 8cab9fe..0000000
--- a/python/python-shortuuid.spec
+++ /dev/null
@@ -1,67 +0,0 @@
-%global srcname shortuuid
-
-Name: python-%{srcname}
-Version: 1.0.8
-Release: %autorelease
-Summary: A generator library for concise, unambiguous and URL-safe UUIDs
-License: BSD
-URL: https://github.com/skorokithakis/shortuuid
-Source0: %{pypi_source %{srcname}}
-
-BuildArch: noarch
-
-BuildRequires: python%{python3_pkgversion}-devel
-BuildRequires: python%{python3_pkgversion}-setuptools
-# Test dependencies:
-BuildRequires: python3dist(django)
-# shortuuid.django_fields generates UUIDs for Django
-Enhances: python3dist(django)
-
-%global _description %{expand:
-shortuuid is a simple python library that generates concise, unambiguous,
-URL-safe UUIDs.
-
-Often, one needs to use non-sequential IDs in places where users will see them,
-but the IDs must be as concise and easy to use as possible. shortuuid solves
-this problem by generating uuids using Python's built-in uuid module and then
-translating them to base57 using lowercase and uppercase letters and digits, and
-removing similar-looking characters such as l, 1, I, O and 0.}
-
-%description %{_description}
-
-
-%package -n python%{python3_pkgversion}-%{srcname}
-Summary: %{summary}
-
-%description -n python%{python3_pkgversion}-%{srcname} %{_description}
-
-
-%prep
-%autosetup -p1 -n %{srcname}-%{version}
-
-
-%generate_buildrequires
-%pyproject_buildrequires -r
-
-
-%build
-%pyproject_wheel
-
-
-%install
-%pyproject_install
-%pyproject_save_files %{srcname}
-
-
-%check
-%{__python3} setup.py test
-
-
-%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files}
-%license COPYING
-%doc README.md
-%{_bindir}/shortuuid
-
-
-%changelog
-%autochangelog