[arch-commits] Commit in python-yaspin/repos/community-staging-any (3 files)

Felix Yan felixonmars at archlinux.org
Wed Nov 11 06:54:46 UTC 2020


    Date: Wednesday, November 11, 2020 @ 06:54:46
  Author: felixonmars
Revision: 749969

archrelease: copy trunk to community-staging-any

Added:
  python-yaspin/repos/community-staging-any/PKGBUILD
    (from rev 749968, 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	2020-11-11 06:54:34 UTC (rev 749968)
+++ PKGBUILD	2020-11-11 06:54:46 UTC (rev 749969)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-yaspin
-pkgver=1.2.0
-pkgrel=2
-pkgdesc="Yet Another Terminal Spinner"
-url="https://github.com/pavdmyt/yaspin"
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-dephell')
-checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pavdmyt/yaspin/archive/v$pkgver.tar.gz"
-        setup.py)
-sha512sums=('c57d241a7483d70f816958887a5421d3ea5f85a965244f803300f0c9dd25216327fc9a5a513ab9f18cb7bc66ab1d905ade1ab7ffb62d376d8d1a7719b7cc5d86'
-            '7ca0ce814ef2ad9552acd2d77cff852abfa40ceb0ac22b0ea7f56a384c25c24b25d7f5163073545cf69941cf9742a349fe780f4b51e143b6782ec6a7a3695beb')
-
-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.9
-  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 749968, python-yaspin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 06:54:46 UTC (rev 749969)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-yaspin
+pkgver=1.2.0
+pkgrel=3
+pkgdesc="Yet Another Terminal Spinner"
+url="https://github.com/pavdmyt/yaspin"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-dephell')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pavdmyt/yaspin/archive/v$pkgver.tar.gz")
+sha512sums=('c57d241a7483d70f816958887a5421d3ea5f85a965244f803300f0c9dd25216327fc9a5a513ab9f18cb7bc66ab1d905ade1ab7ffb62d376d8d1a7719b7cc5d86')
+
+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	2020-11-11 06:54:34 UTC (rev 749968)
+++ setup.py	2020-11-11 06:54:46 UTC (rev 749969)
@@ -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='1.2.0',
-    description='Yet Another Terminal Spinner',
-    python_requires='!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,<4.0,>=2.7',
-    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 :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', '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 Development :: 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=[],
-    extras_require={"dev": ["flake8<3.7", "isort==4.*,>=4.3.0", "pytest==4.*,>=4.6.0", "pytest-cov==2.*,>=2.10.0", "pytest-sugar==0.*,>=0.9.0", "pytest-xdist==1.*,>=1.33.0"]},
-)



More information about the arch-commits mailing list