Commit a850dd90 authored by William Grzybowski's avatar William Grzybowski

Initial debian

parent 0812cb5e
Pipeline #56694 passed with stages
in 8 minutes and 45 seconds
bidict (0.18.0-1) experimental; urgency=medium
* Initial release (Closes: #932216)
-- William Grzybowski <william@grzy.org> Thu, 18 Jul 2019 19:37:54 -0300
Source: bidict
Section: python
Priority: optional
Maintainer: William Grzybowski <william@grzy.org>
Uploaders: Debian Python Modules Team <team+python-modules@tracker.debian.org>
Build-Depends: debhelper-compat (= 12),
dh-python,
python3-all,
python3-setuptools,
python3-setuptools-scm,
python3-sphinx,
# tests
python3-hypothesis,
python3-pytest-benchmark,
python3-sortedcollections,
python3-sortedcontainers
Standards-Version: 4.4.0
Homepage: https://bidict.readthedocs.io
Vcs-Browser: https://salsa.debian.org/python-team/modules/bidict
Vcs-Git: https://salsa.debian.org/python-team/modules/bidict.git
Testsuite: autopkgtest-pkg-python
Package: python3-bidict
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}, ${sphinxdoc:Depends}
Description: Bidirectional map data structures and related functionality
Features:
- has carefully designed APIs for safety, simplicity, flexibility,
and ergonomics
- is CPython-, PyPy-, Python 2-, and Python 3-compatible
- has extensive test coverage (including property-based tests and benchmarks)
run continuously on all supported Python versions and OSes
- integrates natively with Python’s collections interfaces
- is implemented in concise, well-factored, well-documented pure Python that
leverages a number of advanced language features
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: bidict
Source: https://github.com/jab/bidict
Files: *
Copyright: 2009-2019 Joshua Bronson <jab@math.brown.edu>
License: MPL-2.0
The complete text of the Mozilla Public License 2.0 can be found in
the file `/usr/share/common-licenses/MPL-2.0'.
Files: debian/*
Copyright: 2019 William Grzybowski <william@grzy.org>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
docs/_build/html/
From: William Grzybowski <william@grzy.org>
Date: Thu, 18 Jul 2019 21:49:12 -0300
Subject: Disable alabaster theme and some options to avoid privacy breach
---
docs/conf.py | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index a839e69..97224d5 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -125,7 +125,7 @@ modindex_common_prefix = ['bidict.']
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'alabaster'
+#html_theme = 'alabaster'
#html_theme = 'sphinx_rtd_theme'
#html_theme = 'nature'
@@ -133,18 +133,18 @@ html_theme = 'alabaster'
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = dict(
- analytics_id='UA-10116163-3',
+ #analytics_id='UA-10116163-3',
description=bidict.__description__,
link_hover='#247BA1',
- github_banner=True,
- github_repo='bidict',
- github_type='star',
- github_user='jab',
+ #github_banner=True,
+ #github_repo='bidict',
+ #github_type='star',
+ #github_user='jab',
page_width='1000px',
show_powered_by=False,
show_relbar_bottom=True,
- donate_url='https://gumroad.com/l/bidict',
- tidelift_url='https://tidelift.com/subscription/pkg/pypi-bidict?utm_source=pypi-bidict&utm_medium=referral&utm_campaign=docs', # noqa: E501; pylint: disable=line-too-long
+ #donate_url='https://gumroad.com/l/bidict',
+ #tidelift_url='https://tidelift.com/subscription/pkg/pypi-bidict?utm_source=pypi-bidict&utm_medium=referral&utm_campaign=docs', # noqa: E501; pylint: disable=line-too-long
)
# Add any paths that contain custom themes here, relative to this directory.
From: William Grzybowski <william@grzy.org>
Date: Thu, 18 Jul 2019 21:57:36 -0300
Subject: Remove external images because of privacy breach
---
docs/changelog.rst | 4 ---
docs/contributors-guide.rst | 19 ------------
docs/home.rst | 75 ---------------------------------------------
3 files changed, 98 deletions(-)
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 4c43bac..fe55578 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -14,10 +14,6 @@ Release Notifications
.. duplicated in README.rst
(would use `.. include::` but GitHub doesn't understand it)
-.. image:: https://img.shields.io/badge/libraries.io-subscribe-5BC0DF.svg
- :target: https://libraries.io/pypi/bidict
- :alt: Follow on libraries.io
-
Tip: `Subscribe to bidict releases <https://libraries.io/pypi/bidict>`__
on libraries.io to be notified when new versions of bidict are released.
diff --git a/docs/contributors-guide.rst b/docs/contributors-guide.rst
index e20b95b..a7b8238 100644
--- a/docs/contributors-guide.rst
+++ b/docs/contributors-guide.rst
@@ -112,18 +112,6 @@ Submitting Changes
Other Ways to Contribute
------------------------
-.. image:: https://img.shields.io/badge/Gumroad-Chip%20in-orange.svg
- :target: https://gumroad.com/l/bidict
- :alt: Chip in via Gumroad
-
-.. image:: https://img.shields.io/badge/Bountysource-Chip%20in-brightgreen.svg
- :target: https://www.bountysource.com/teams/bidict
- :alt: Chip in via Bountysource
-
-.. image:: https://img.shields.io/badge/PayPal-Chip%20in-blue.svg
- :target: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=jab%40math%2ebrown%2eedu&lc=US&item_name=Support%20bidict&button_subtype=services&currency_code=USD&bn=PP%2dBuyNowBF%3aPaypal%2dBuy%2520a%2520Drink%2dblue%2esvg%3aNonHosted
- :alt: Chip in via PayPal
-
.. duplicated in README.rst
(would use `.. include::` but GitHub doesn't understand it)
@@ -151,13 +139,6 @@ there are other ways to contribute.
please spread the word.
-**Please support bidict:**
-
-.. image:: https://raw.githubusercontent.com/jab/bidict/master/assets/support-on-gumroad.png
- :target: https://gumroad.com/l/bidict
- :alt: Support bidict
-
-
Code of Conduct
---------------
diff --git a/docs/home.rst b/docs/home.rst
index b5ab4f7..6e10702 100644
--- a/docs/home.rst
+++ b/docs/home.rst
@@ -9,65 +9,6 @@ bidict
Efficient, Pythonic bidirectional map implementation and related functionality.
-.. image:: https://raw.githubusercontent.com/jab/bidict/master/assets/logo-sm.png
- :target: https://bidict.readthedocs.io/
- :alt: bidict logo
-
-
-Status
-------
-
-.. image:: https://img.shields.io/pypi/v/bidict.svg
- :target: https://pypi.org/project/bidict
- :alt: Latest release
-
-.. image:: https://img.shields.io/readthedocs/bidict/master.svg
- :target: https://bidict.readthedocs.io/en/master/
- :alt: Documentation
-
-.. image:: https://api.travis-ci.org/jab/bidict.svg?branch=master
- :target: https://travis-ci.org/jab/bidict
- :alt: Travis-CI build status
-
-.. image:: https://codecov.io/gh/jab/bidict/branch/master/graph/badge.svg
- :target: https://codecov.io/gh/jab/bidict
- :alt: Test coverage
-
-.. image:: https://img.shields.io/lgtm/alerts/g/jab/bidict.svg
- :target: https://lgtm.com/projects/g/jab/bidict/
- :alt: LGTM alerts
-
-.. image:: https://api.codacy.com/project/badge/Grade/6628756a73254cd895656348236833b8
- :target: https://www.codacy.com/app/jab/bidict
- :alt: Codacy grade
-
-.. image:: https://bestpractices.coreinfrastructure.org/projects/2354/badge
- :target: https://bestpractices.coreinfrastructure.org/en/projects/2354
- :alt: CII best practices badge
-
-.. image:: https://tidelift.com/badges/github/jab/bidict
- :target: https://tidelift.com/subscription/pkg/pypi-bidict?utm_source=pypi-bidict&utm_medium=referral&utm_campaign=docs
- :alt: Tidelift dependency badge
-
-.. Hide to reduce clutter
- .. image:: https://ci.appveyor.com/api/projects/status/gk133415udncwto3/branch/master?svg=true
- :target: https://ci.appveyor.com/project/jab/bidict
- :alt: AppVeyor (Windows) build status
- .. image:: https://img.shields.io/pypi/pyversions/bidict.svg
- :target: https://pypi.org/project/bidict
- :alt: Supported Python versions
- .. image:: https://img.shields.io/pypi/implementation/bidict.svg
- :target: https://pypi.org/project/bidict
- :alt: Supported Python implementations
-
-.. image:: https://img.shields.io/pypi/l/bidict.svg
- :target: https://raw.githubusercontent.com/jab/bidict/master/LICENSE
- :alt: License
-
-.. image:: https://img.shields.io/badge/dynamic/json.svg?label=downloads&url=https%3A%2F%2Fpypistats.org%2Fapi%2Fpackages%2Fbidict%2Frecent%3Fperiod%3Dmonth&query=%24.data.last_month&colorB=blue&suffix=%2fmonth
- :target: https://pypistats.org/packages/bidict
- :alt: Downloads past month
-
Bidict:
^^^^^^^
@@ -112,10 +53,6 @@ and proceed from there.
Community and Voluntary Support
-------------------------------
-.. image:: https://img.shields.io/badge/chat-on%20gitter-5AB999.svg?logo=gitter-white
- :target: https://gitter.im/jab/bidict
- :alt: Chat
-
If you are thinking of using bidict in your work,
or if you have any questions, comments, or suggestions,
I'd love to know about your use case
@@ -133,10 +70,6 @@ in case your questions or concerns have been adressed there already.
Paid Support via Tidelift
-------------------------
-.. image:: https://img.shields.io/badge/tidelift-pro%20support-EF914C.svg
- :target: https://tidelift.com/subscription/pkg/pypi-bidict?utm_source=pypi-bidict&utm_medium=referral&utm_campaign=readme
- :alt: Support via Tidelift
-
If your use case requires a greater level of support,
contractual support for bidict can be obtained through the
`Tidelift subscription <https://tidelift.com/subscription/pkg/pypi-bidict?utm_source=pypi-bidict&utm_medium=referral&utm_campaign=readme>`__.
@@ -170,10 +103,6 @@ Release Notifications
.. duplicated in CHANGELOG.rst:
(would use `.. include::` but GitHub doesn't understand it)
-.. image:: https://img.shields.io/badge/libraries.io-subscribe-5BC0DF.svg
- :target: https://libraries.io/pypi/bidict
- :alt: Follow on libraries.io
-
Tip: `Subscribe to bidict releases <https://libraries.io/pypi/bidict>`__
on libraries.io to be notified when new versions of bidict are released.
@@ -232,10 +161,6 @@ please consider chipping in toward the costs
of bidict's maintenance and development
and/or ask your organization to do the same.
-.. image:: https://raw.githubusercontent.com/jab/bidict/master/assets/support-on-gumroad.png
- :target: https://gumroad.com/l/bidict
- :alt: Support bidict
-
Finding Documentation
---------------------
From: William Grzybowski <william@grzy.org>
Date: Thu, 18 Jul 2019 22:10:18 -0300
Subject: Do not install custom.js for codefund.app because of privacy breach
---
docs/conf.py | 5 -----
1 file changed, 5 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index 97224d5..2f5890c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -318,8 +318,3 @@ autosectionlabel_prefix_document = True
# http://www.sphinx-doc.org/en/master/usage/extensions/doctest.html
doctest_global_setup = """
"""
-
-
-def setup(app):
- """https://docs.readthedocs.io/en/latest/guides/adding-custom-css.html#adding-custom-css-or-javascript-to-a-sphinx-project""" # noqa: E501; pylint: disable=line-too-long
- app.add_javascript('custom.js')
0001-Disable-alabaster-theme-and-some-options-to-avoid-pr.patch
0002-Remove-external-images-because-of-privacy-breach.patch
0003-Do-not-install-custom.js-for-codefund.app-because-of.patch
#!/usr/bin/make -f
#export DH_VERBOSE = 1
export PYBUILD_NAME=bidict
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
make -C docs/ clean html
override_dh_auto_clean:
dh_auto_clean
rm -rf .hypothesis
rm -rf .pytest_cache
make -C docs/ clean
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
python3 run_tests.py
endif
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
extend-diff-ignore = "^[^/]*[.]egg-info/"
version=4
https://pypi.debian.net/bidict/bidict-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
......@@ -14,10 +14,6 @@ Release Notifications
.. duplicated in README.rst
(would use `.. include::` but GitHub doesn't understand it)
.. image:: https://img.shields.io/badge/libraries.io-subscribe-5BC0DF.svg
:target: https://libraries.io/pypi/bidict
:alt: Follow on libraries.io
Tip: `Subscribe to bidict releases <https://libraries.io/pypi/bidict>`__
on libraries.io to be notified when new versions of bidict are released.
......
......@@ -125,7 +125,7 @@ modindex_common_prefix = ['bidict.']
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'alabaster'
#html_theme = 'alabaster'
#html_theme = 'sphinx_rtd_theme'
#html_theme = 'nature'
......@@ -133,18 +133,18 @@ html_theme = 'alabaster'
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = dict(
analytics_id='UA-10116163-3',
#analytics_id='UA-10116163-3',
description=bidict.__description__,
link_hover='#247BA1',
github_banner=True,
github_repo='bidict',
github_type='star',
github_user='jab',
#github_banner=True,
#github_repo='bidict',
#github_type='star',
#github_user='jab',
page_width='1000px',
show_powered_by=False,
show_relbar_bottom=True,
donate_url='https://gumroad.com/l/bidict',
tidelift_url='https://tidelift.com/subscription/pkg/pypi-bidict?utm_source=pypi-bidict&utm_medium=referral&utm_campaign=docs', # noqa: E501; pylint: disable=line-too-long
#donate_url='https://gumroad.com/l/bidict',
#tidelift_url='https://tidelift.com/subscription/pkg/pypi-bidict?utm_source=pypi-bidict&utm_medium=referral&utm_campaign=docs', # noqa: E501; pylint: disable=line-too-long
)
# Add any paths that contain custom themes here, relative to this directory.
......@@ -318,8 +318,3 @@ autosectionlabel_prefix_document = True
# http://www.sphinx-doc.org/en/master/usage/extensions/doctest.html
doctest_global_setup = """
"""
def setup(app):
"""https://docs.readthedocs.io/en/latest/guides/adding-custom-css.html#adding-custom-css-or-javascript-to-a-sphinx-project""" # noqa: E501; pylint: disable=line-too-long
app.add_javascript('custom.js')
......@@ -112,18 +112,6 @@ Submitting Changes
Other Ways to Contribute
------------------------
.. image:: https://img.shields.io/badge/Gumroad-Chip%20in-orange.svg
:target: https://gumroad.com/l/bidict
:alt: Chip in via Gumroad
.. image:: https://img.shields.io/badge/Bountysource-Chip%20in-brightgreen.svg
:target: https://www.bountysource.com/teams/bidict
:alt: Chip in via Bountysource
.. image:: https://img.shields.io/badge/PayPal-Chip%20in-blue.svg
:target: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=jab%40math%2ebrown%2eedu&lc=US&item_name=Support%20bidict&button_subtype=services&currency_code=USD&bn=PP%2dBuyNowBF%3aPaypal%2dBuy%2520a%2520Drink%2dblue%2esvg%3aNonHosted
:alt: Chip in via PayPal
.. duplicated in README.rst
(would use `.. include::` but GitHub doesn't understand it)
......@@ -151,13 +139,6 @@ there are other ways to contribute.
please spread the word.
**Please support bidict:**
.. image:: https://raw.githubusercontent.com/jab/bidict/master/assets/support-on-gumroad.png
:target: https://gumroad.com/l/bidict
:alt: Support bidict
Code of Conduct
---------------
......
......@@ -9,65 +9,6 @@ bidict
Efficient, Pythonic bidirectional map implementation and related functionality.
.. image:: https://raw.githubusercontent.com/jab/bidict/master/assets/logo-sm.png
:target: https://bidict.readthedocs.io/
:alt: bidict logo
Status
------
.. image:: https://img.shields.io/pypi/v/bidict.svg
:target: https://pypi.org/project/bidict
:alt: Latest release
.. image:: https://img.shields.io/readthedocs/bidict/master.svg
:target: https://bidict.readthedocs.io/en/master/
:alt: Documentation
.. image:: https://api.travis-ci.org/jab/bidict.svg?branch=master
:target: https://travis-ci.org/jab/bidict
:alt: Travis-CI build status
.. image:: https://codecov.io/gh/jab/bidict/branch/master/graph/badge.svg
:target: https://codecov.io/gh/jab/bidict
:alt: Test coverage
.. image:: https://img.shields.io/lgtm/alerts/g/jab/bidict.svg
:target: https://lgtm.com/projects/g/jab/bidict/
:alt: LGTM alerts
.. image:: https://api.codacy.com/project/badge/Grade/6628756a73254cd895656348236833b8
:target: https://www.codacy.com/app/jab/bidict
:alt: Codacy grade
.. image:: https://bestpractices.coreinfrastructure.org/projects/2354/badge
:target: https://bestpractices.coreinfrastructure.org/en/projects/2354
:alt: CII best practices badge
.. image:: https://tidelift.com/badges/github/jab/bidict
:target: https://tidelift.com/subscription/pkg/pypi-bidict?utm_source=pypi-bidict&utm_medium=referral&utm_campaign=docs
:alt: Tidelift dependency badge
.. Hide to reduce clutter
.. image:: https://ci.appveyor.com/api/projects/status/gk133415udncwto3/branch/master?svg=true
:target: https://ci.appveyor.com/project/jab/bidict
:alt: AppVeyor (Windows) build status
.. image:: https://img.shields.io/pypi/pyversions/bidict.svg
:target: https://pypi.org/project/bidict
:alt: Supported Python versions
.. image:: https://img.shields.io/pypi/implementation/bidict.svg
:target: https://pypi.org/project/bidict
:alt: Supported Python implementations
.. image:: https://img.shields.io/pypi/l/bidict.svg
:target: https://raw.githubusercontent.com/jab/bidict/master/LICENSE
:alt: License
.. image:: https://img.shields.io/badge/dynamic/json.svg?label=downloads&url=https%3A%2F%2Fpypistats.org%2Fapi%2Fpackages%2Fbidict%2Frecent%3Fperiod%3Dmonth&query=%24.data.last_month&colorB=blue&suffix=%2fmonth
:target: https://pypistats.org/packages/bidict
:alt: Downloads past month
Bidict:
^^^^^^^
......@@ -112,10 +53,6 @@ and proceed from there.
Community and Voluntary Support
-------------------------------
.. image:: https://img.shields.io/badge/chat-on%20gitter-5AB999.svg?logo=gitter-white
:target: https://gitter.im/jab/bidict
:alt: Chat
If you are thinking of using bidict in your work,
or if you have any questions, comments, or suggestions,
I'd love to know about your use case
......@@ -133,10 +70,6 @@ in case your questions or concerns have been adressed there already.
Paid Support via Tidelift
-------------------------
.. image:: https://img.shields.io/badge/tidelift-pro%20support-EF914C.svg
:target: https://tidelift.com/subscription/pkg/pypi-bidict?utm_source=pypi-bidict&utm_medium=referral&utm_campaign=readme
:alt: Support via Tidelift
If your use case requires a greater level of support,
contractual support for bidict can be obtained through the
`Tidelift subscription <https://tidelift.com/subscription/pkg/pypi-bidict?utm_source=pypi-bidict&utm_medium=referral&utm_campaign=readme>`__.
......@@ -170,10 +103,6 @@ Release Notifications
.. duplicated in CHANGELOG.rst:
(would use `.. include::` but GitHub doesn't understand it)
.. image:: https://img.shields.io/badge/libraries.io-subscribe-5BC0DF.svg
:target: https://libraries.io/pypi/bidict
:alt: Follow on libraries.io
Tip: `Subscribe to bidict releases <https://libraries.io/pypi/bidict>`__
on libraries.io to be notified when new versions of bidict are released.
......@@ -232,10 +161,6 @@ please consider chipping in toward the costs
of bidict's maintenance and development
and/or ask your organization to do the same.
.. image:: https://raw.githubusercontent.com/jab/bidict/master/assets/support-on-gumroad.png
:target: https://gumroad.com/l/bidict
:alt: Support bidict
Finding Documentation
---------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment