[arch-commits] Commit in python-yaspin/repos/community-staging-any (3 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 20:14:15 UTC 2021
Date: Wednesday, December 1, 2021 @ 20:14:15
Author: felixonmars
Revision: 1060668
archrelease: copy trunk to community-staging-any
Added:
python-yaspin/repos/community-staging-any/PKGBUILD
(from rev 1060667, python-yaspin/trunk/PKGBUILD)
Deleted:
python-yaspin/repos/community-staging-any/PKGBUILD
python-yaspin/repos/community-staging-any/setup.py
----------+
PKGBUILD | 85 ++++++++++++++++++++++++++++---------------------------------
setup.py | 41 -----------------------------
2 files changed, 40 insertions(+), 86 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-01 20:14:10 UTC (rev 1060667)
+++ PKGBUILD 2021-12-01 20:14:15 UTC (rev 1060668)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-yaspin
-pkgver=2.1.0
-pkgrel=2
-pkgdesc="Yet Another Terminal Spinner"
-url="https://github.com/pavdmyt/yaspin"
-license=('MIT')
-arch=('any')
-depends=('python-termcolor')
-makedepends=('python-dephell')
-checkdepends=('python-pytest-runner')
-source=("https://github.com/pavdmyt/yaspin/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
- setup.py)
-sha512sums=('ea2379fe052ac7523a6383b51babc867adccbf98938f2ca6755a33fc932fee54c5bc84e91ab09ad1d88b436f55d7bc4f69ae63a13453b7aac3877bcd1efe232a'
- '901fcb24388efa19ef29825c742075af1869d57423f2286e834cf28da3ad035a18bce28ea090e29bd0dde41607b514e73e098766528cfc9e23e9e2dd47965cea')
-
-prepare() {
- cd yaspin-$pkgver
-
- # poetry-generated setup.py is badly broken in several ways, including
- # distribution of tests in the built package as well as using distutils for
- # bad metadata. See https://github.com/sdispater/poetry/issues/866
- #dephell deps convert --from pyproject.toml --to setup.py
-
- # Bootstrapping for Python 3.10
- cp ../setup.py .
-}
-
-build() {
- cd yaspin-$pkgver
- python setup.py build
-}
-
-check() {
- cd yaspin-$pkgver
- python setup.py pytest
-}
-
-package() {
- cd yaspin-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-yaspin/repos/community-staging-any/PKGBUILD (from rev 1060667, python-yaspin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-01 20:14:15 UTC (rev 1060668)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-yaspin
+pkgver=2.1.0
+pkgrel=3
+pkgdesc="Yet Another Terminal Spinner"
+url="https://github.com/pavdmyt/yaspin"
+license=('MIT')
+arch=('any')
+depends=('python-termcolor')
+makedepends=('python-dephell')
+checkdepends=('python-pytest-runner')
+source=("https://github.com/pavdmyt/yaspin/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('ea2379fe052ac7523a6383b51babc867adccbf98938f2ca6755a33fc932fee54c5bc84e91ab09ad1d88b436f55d7bc4f69ae63a13453b7aac3877bcd1efe232a')
+
+prepare() {
+ cd yaspin-$pkgver
+
+ # poetry-generated setup.py is badly broken in several ways, including
+ # distribution of tests in the built package as well as using distutils for
+ # bad metadata. See https://github.com/sdispater/poetry/issues/866
+ dephell deps convert --from pyproject.toml --to setup.py
+}
+
+build() {
+ cd yaspin-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd yaspin-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd yaspin-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
Deleted: setup.py
===================================================================
--- setup.py 2021-12-01 20:14:10 UTC (rev 1060667)
+++ setup.py 2021-12-01 20:14:15 UTC (rev 1060668)
@@ -1,41 +0,0 @@
-
-# -*- coding: utf-8 -*-
-
-# DO NOT EDIT THIS FILE!
-# This file has been autogenerated by dephell <3
-# https://github.com/dephell/dephell
-
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
-
-
-import os.path
-
-readme = ''
-here = os.path.abspath(os.path.dirname(__file__))
-readme_path = os.path.join(here, 'README.rst')
-if os.path.exists(readme_path):
- with open(readme_path, 'rb') as stream:
- readme = stream.read().decode('utf8')
-
-
-setup(
- long_description=readme,
- name='yaspin',
- version='2.1.0',
- description='Yet Another Terminal Spinner',
- python_requires='==3.*,>=3.6.2',
- project_urls={"documentation": "https://github.com/pavdmyt/yaspin/blob/master/README.rst", "homepage": "https://github.com/pavdmyt/yaspin", "repository": "https://github.com/pavdmyt/yaspin"},
- author='Pavlo Dmytrenko',
- author_email='mail at pavdmyt.com',
- license='MIT',
- keywords='spinner console terminal loader indicator',
- classifiers=['Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Environment :: MacOS X', 'Environment :: Other Environment', 'Intended Audience :: Developers', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Other Audience', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: Implementation', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Deve
lopment :: User Interfaces', 'Topic :: System :: Logging', 'Topic :: System :: Monitoring', 'Topic :: System :: Shells', 'Topic :: Terminals', 'Topic :: Utilities'],
- packages=['yaspin'],
- package_dir={"": "."},
- package_data={"yaspin": ["data/*.json"]},
- install_requires=['dataclasses==0.*,>=0.8.0; python_version == "3.6.*" and python_version >= "3.6.0"', 'termcolor==1.*,>=1.1.0'],
- extras_require={"dev": ["black==21.*,>=21.5.0.b1", "flake8==3.*,>=3.9.2", "isort==5.*,>=5.8.0", "pylint==2.*,>=2.8.2", "pytest==6.*,>=6.2.4", "pytest-cov==2.*,>=2.12.0", "pytest-sugar==0.*,>=0.9.4", "pytest-xdist==2.*,>=2.2.1", "twine==3.*,>=3.4.1"]},
-)
More information about the arch-commits
mailing list