pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/finance/py-stripe py-stripe: updated to 2.18.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/b48f650925d6
branches: trunk
changeset: 328026:b48f650925d6
user: adam <adam%pkgsrc.org@localhost>
date: Tue Jan 15 19:14:07 2019 +0000
description:
py-stripe: updated to 2.18.0
2.18.0:
* Add configurable telemetry to gather information on client-side request latency
2.17.0:
* Add support for Checkout sessions
2.16.0:
* Add support for account links
2.15.0:
* Add support for providing custom CA certificate bundle
2.14.0:
* Add support for Review for Radar
2.13.0:
* Add support for ValueList and ValueListItem for Radar
2.12.1:
* Make StripeResponse a new-style class
2.12.0:
* Add new API endpoints for the Invoice resource.
2.11.1:
* Bump minimum requests version to 2.20.0 (for [CVE-2018-18074](https://nvd.nist.gov/vuln/detail/CVE-2018-18074))
2.11.0:
* Add support for the Person resource
* Add support for the WebhookEndpoint resource
2.10.1:
* Correct behavior of stripe.max_network_retries if it's reset after initial use
2.10.0:
* Add support for Stripe Terminal
2.9.0:
* Rename FileUpload to File
2.8.1:
* Don't URL-encode square brackets
* Integer-index encode all arrays
2.8.0:
* Add support for automatic network retries
2.7.0:
* Add support for reporting resources
2.6.0:
* Add support for usage record summaries
2.5.0:
* Remove unsupported Bitcoin endpoints (this is technically a breaking change, but we're releasing as a minor version because none of these APIs were usable anyway)
2.4.0:
* Add cancel support for topups
* Add support for file links
2.3.0:
* Add support for Sigma scheduled query run objects
2.2.0:
* Add support for Stripe Issuing
2.1.0:
* Add InvoiceLineItem class
2.0.3:
* Internal improvements to ApiResource.class_url
2.0.2:
* Avoid duplicate dependency on requests with Python 2.7
2.0.1:
* Fix setup.py
2.0.0:
Major version release. List of backwards incompatible changes to watch out for:
* The minimum Python versions are now 2.7 / 3.4. If you're using Python 2.6 or 3.3, consider upgrading to a more recent version.
* Stripe exception classes should now be accessed via stripe.error rather than just stripe
* Some older deprecated methods have been removed
* Trying to detach an unattached source will now raise a stripe.error.InvalidRequestError exception instead of a NotImplementedError exception
Pull requests included in this release:
* Drop support for Python 2.6 and 3.3
* Use py.test for tests
* Remove deprecated code
* Remove util.json and use json module directly everywhere
* Update setup.py and test flow
* Use pipenv
* Change exception when detaching unattached sources from NotImplementedError to stripe.error.InvalidRequestError
diffstat:
finance/py-stripe/Makefile | 12 +-
finance/py-stripe/PLIST | 396 +++++++++++++++++++++++++++++---------------
finance/py-stripe/distinfo | 10 +-
3 files changed, 273 insertions(+), 145 deletions(-)
diffs (truncated from 469 to 300 lines):
diff -r 64e9b4ef54fa -r b48f650925d6 finance/py-stripe/Makefile
--- a/finance/py-stripe/Makefile Tue Jan 15 19:05:10 2019 +0000
+++ b/finance/py-stripe/Makefile Tue Jan 15 19:14:07 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2017/10/12 08:06:47 adam Exp $
+# $NetBSD: Makefile,v 1.15 2019/01/15 19:14:07 adam Exp $
-DISTNAME= stripe-1.67.0
+DISTNAME= stripe-2.18.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= finance python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/stripe/}
@@ -10,8 +10,12 @@
COMMENT= Stripe python bindings
LICENSE= mit
-DEPENDS+= ${PYPKGPREFIX}-requests>=0.8.8:../../devel/py-requests
-DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
+DEPENDS+= ${PYPKGPREFIX}-requests>=2.20:../../devel/py-requests
+# tests require stripe-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.4:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.5:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=1.7:../../devel/py-test-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.22:../../devel/py-test-xdist
USE_LANGUAGES= # none
diff -r 64e9b4ef54fa -r b48f650925d6 finance/py-stripe/PLIST
--- a/finance/py-stripe/PLIST Tue Jan 15 19:05:10 2019 +0000
+++ b/finance/py-stripe/PLIST Tue Jan 15 19:14:07 2019 +0000
@@ -1,7 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2017/10/10 12:23:24 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2019/01/15 19:14:07 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/stripe/__init__.py
@@ -10,6 +11,252 @@
${PYSITELIB}/stripe/api_requestor.py
${PYSITELIB}/stripe/api_requestor.pyc
${PYSITELIB}/stripe/api_requestor.pyo
+${PYSITELIB}/stripe/api_resources/__init__.py
+${PYSITELIB}/stripe/api_resources/__init__.pyc
+${PYSITELIB}/stripe/api_resources/__init__.pyo
+${PYSITELIB}/stripe/api_resources/abstract/__init__.py
+${PYSITELIB}/stripe/api_resources/abstract/__init__.pyc
+${PYSITELIB}/stripe/api_resources/abstract/__init__.pyo
+${PYSITELIB}/stripe/api_resources/abstract/api_resource.py
+${PYSITELIB}/stripe/api_resources/abstract/api_resource.pyc
+${PYSITELIB}/stripe/api_resources/abstract/api_resource.pyo
+${PYSITELIB}/stripe/api_resources/abstract/createable_api_resource.py
+${PYSITELIB}/stripe/api_resources/abstract/createable_api_resource.pyc
+${PYSITELIB}/stripe/api_resources/abstract/createable_api_resource.pyo
+${PYSITELIB}/stripe/api_resources/abstract/deletable_api_resource.py
+${PYSITELIB}/stripe/api_resources/abstract/deletable_api_resource.pyc
+${PYSITELIB}/stripe/api_resources/abstract/deletable_api_resource.pyo
+${PYSITELIB}/stripe/api_resources/abstract/listable_api_resource.py
+${PYSITELIB}/stripe/api_resources/abstract/listable_api_resource.pyc
+${PYSITELIB}/stripe/api_resources/abstract/listable_api_resource.pyo
+${PYSITELIB}/stripe/api_resources/abstract/nested_resource_class_methods.py
+${PYSITELIB}/stripe/api_resources/abstract/nested_resource_class_methods.pyc
+${PYSITELIB}/stripe/api_resources/abstract/nested_resource_class_methods.pyo
+${PYSITELIB}/stripe/api_resources/abstract/singleton_api_resource.py
+${PYSITELIB}/stripe/api_resources/abstract/singleton_api_resource.pyc
+${PYSITELIB}/stripe/api_resources/abstract/singleton_api_resource.pyo
+${PYSITELIB}/stripe/api_resources/abstract/updateable_api_resource.py
+${PYSITELIB}/stripe/api_resources/abstract/updateable_api_resource.pyc
+${PYSITELIB}/stripe/api_resources/abstract/updateable_api_resource.pyo
+${PYSITELIB}/stripe/api_resources/abstract/verify_mixin.py
+${PYSITELIB}/stripe/api_resources/abstract/verify_mixin.pyc
+${PYSITELIB}/stripe/api_resources/abstract/verify_mixin.pyo
+${PYSITELIB}/stripe/api_resources/account.py
+${PYSITELIB}/stripe/api_resources/account.pyc
+${PYSITELIB}/stripe/api_resources/account.pyo
+${PYSITELIB}/stripe/api_resources/account_link.py
+${PYSITELIB}/stripe/api_resources/account_link.pyc
+${PYSITELIB}/stripe/api_resources/account_link.pyo
+${PYSITELIB}/stripe/api_resources/alipay_account.py
+${PYSITELIB}/stripe/api_resources/alipay_account.pyc
+${PYSITELIB}/stripe/api_resources/alipay_account.pyo
+${PYSITELIB}/stripe/api_resources/apple_pay_domain.py
+${PYSITELIB}/stripe/api_resources/apple_pay_domain.pyc
+${PYSITELIB}/stripe/api_resources/apple_pay_domain.pyo
+${PYSITELIB}/stripe/api_resources/application_fee.py
+${PYSITELIB}/stripe/api_resources/application_fee.pyc
+${PYSITELIB}/stripe/api_resources/application_fee.pyo
+${PYSITELIB}/stripe/api_resources/application_fee_refund.py
+${PYSITELIB}/stripe/api_resources/application_fee_refund.pyc
+${PYSITELIB}/stripe/api_resources/application_fee_refund.pyo
+${PYSITELIB}/stripe/api_resources/balance.py
+${PYSITELIB}/stripe/api_resources/balance.pyc
+${PYSITELIB}/stripe/api_resources/balance.pyo
+${PYSITELIB}/stripe/api_resources/balance_transaction.py
+${PYSITELIB}/stripe/api_resources/balance_transaction.pyc
+${PYSITELIB}/stripe/api_resources/balance_transaction.pyo
+${PYSITELIB}/stripe/api_resources/bank_account.py
+${PYSITELIB}/stripe/api_resources/bank_account.pyc
+${PYSITELIB}/stripe/api_resources/bank_account.pyo
+${PYSITELIB}/stripe/api_resources/bitcoin_receiver.py
+${PYSITELIB}/stripe/api_resources/bitcoin_receiver.pyc
+${PYSITELIB}/stripe/api_resources/bitcoin_receiver.pyo
+${PYSITELIB}/stripe/api_resources/bitcoin_transaction.py
+${PYSITELIB}/stripe/api_resources/bitcoin_transaction.pyc
+${PYSITELIB}/stripe/api_resources/bitcoin_transaction.pyo
+${PYSITELIB}/stripe/api_resources/card.py
+${PYSITELIB}/stripe/api_resources/card.pyc
+${PYSITELIB}/stripe/api_resources/card.pyo
+${PYSITELIB}/stripe/api_resources/charge.py
+${PYSITELIB}/stripe/api_resources/charge.pyc
+${PYSITELIB}/stripe/api_resources/charge.pyo
+${PYSITELIB}/stripe/api_resources/checkout_session.py
+${PYSITELIB}/stripe/api_resources/checkout_session.pyc
+${PYSITELIB}/stripe/api_resources/checkout_session.pyo
+${PYSITELIB}/stripe/api_resources/country_spec.py
+${PYSITELIB}/stripe/api_resources/country_spec.pyc
+${PYSITELIB}/stripe/api_resources/country_spec.pyo
+${PYSITELIB}/stripe/api_resources/coupon.py
+${PYSITELIB}/stripe/api_resources/coupon.pyc
+${PYSITELIB}/stripe/api_resources/coupon.pyo
+${PYSITELIB}/stripe/api_resources/customer.py
+${PYSITELIB}/stripe/api_resources/customer.pyc
+${PYSITELIB}/stripe/api_resources/customer.pyo
+${PYSITELIB}/stripe/api_resources/dispute.py
+${PYSITELIB}/stripe/api_resources/dispute.pyc
+${PYSITELIB}/stripe/api_resources/dispute.pyo
+${PYSITELIB}/stripe/api_resources/ephemeral_key.py
+${PYSITELIB}/stripe/api_resources/ephemeral_key.pyc
+${PYSITELIB}/stripe/api_resources/ephemeral_key.pyo
+${PYSITELIB}/stripe/api_resources/event.py
+${PYSITELIB}/stripe/api_resources/event.pyc
+${PYSITELIB}/stripe/api_resources/event.pyo
+${PYSITELIB}/stripe/api_resources/exchange_rate.py
+${PYSITELIB}/stripe/api_resources/exchange_rate.pyc
+${PYSITELIB}/stripe/api_resources/exchange_rate.pyo
+${PYSITELIB}/stripe/api_resources/file.py
+${PYSITELIB}/stripe/api_resources/file.pyc
+${PYSITELIB}/stripe/api_resources/file.pyo
+${PYSITELIB}/stripe/api_resources/file_link.py
+${PYSITELIB}/stripe/api_resources/file_link.pyc
+${PYSITELIB}/stripe/api_resources/file_link.pyo
+${PYSITELIB}/stripe/api_resources/invoice.py
+${PYSITELIB}/stripe/api_resources/invoice.pyc
+${PYSITELIB}/stripe/api_resources/invoice.pyo
+${PYSITELIB}/stripe/api_resources/invoice_item.py
+${PYSITELIB}/stripe/api_resources/invoice_item.pyc
+${PYSITELIB}/stripe/api_resources/invoice_item.pyo
+${PYSITELIB}/stripe/api_resources/invoice_line_item.py
+${PYSITELIB}/stripe/api_resources/invoice_line_item.pyc
+${PYSITELIB}/stripe/api_resources/invoice_line_item.pyo
+${PYSITELIB}/stripe/api_resources/issuer_fraud_record.py
+${PYSITELIB}/stripe/api_resources/issuer_fraud_record.pyc
+${PYSITELIB}/stripe/api_resources/issuer_fraud_record.pyo
+${PYSITELIB}/stripe/api_resources/issuing/__init__.py
+${PYSITELIB}/stripe/api_resources/issuing/__init__.pyc
+${PYSITELIB}/stripe/api_resources/issuing/__init__.pyo
+${PYSITELIB}/stripe/api_resources/issuing/authorization.py
+${PYSITELIB}/stripe/api_resources/issuing/authorization.pyc
+${PYSITELIB}/stripe/api_resources/issuing/authorization.pyo
+${PYSITELIB}/stripe/api_resources/issuing/card.py
+${PYSITELIB}/stripe/api_resources/issuing/card.pyc
+${PYSITELIB}/stripe/api_resources/issuing/card.pyo
+${PYSITELIB}/stripe/api_resources/issuing/card_details.py
+${PYSITELIB}/stripe/api_resources/issuing/card_details.pyc
+${PYSITELIB}/stripe/api_resources/issuing/card_details.pyo
+${PYSITELIB}/stripe/api_resources/issuing/cardholder.py
+${PYSITELIB}/stripe/api_resources/issuing/cardholder.pyc
+${PYSITELIB}/stripe/api_resources/issuing/cardholder.pyo
+${PYSITELIB}/stripe/api_resources/issuing/dispute.py
+${PYSITELIB}/stripe/api_resources/issuing/dispute.pyc
+${PYSITELIB}/stripe/api_resources/issuing/dispute.pyo
+${PYSITELIB}/stripe/api_resources/issuing/transaction.py
+${PYSITELIB}/stripe/api_resources/issuing/transaction.pyc
+${PYSITELIB}/stripe/api_resources/issuing/transaction.pyo
+${PYSITELIB}/stripe/api_resources/list_object.py
+${PYSITELIB}/stripe/api_resources/list_object.pyc
+${PYSITELIB}/stripe/api_resources/list_object.pyo
+${PYSITELIB}/stripe/api_resources/login_link.py
+${PYSITELIB}/stripe/api_resources/login_link.pyc
+${PYSITELIB}/stripe/api_resources/login_link.pyo
+${PYSITELIB}/stripe/api_resources/order.py
+${PYSITELIB}/stripe/api_resources/order.pyc
+${PYSITELIB}/stripe/api_resources/order.pyo
+${PYSITELIB}/stripe/api_resources/order_return.py
+${PYSITELIB}/stripe/api_resources/order_return.pyc
+${PYSITELIB}/stripe/api_resources/order_return.pyo
+${PYSITELIB}/stripe/api_resources/payment_intent.py
+${PYSITELIB}/stripe/api_resources/payment_intent.pyc
+${PYSITELIB}/stripe/api_resources/payment_intent.pyo
+${PYSITELIB}/stripe/api_resources/payout.py
+${PYSITELIB}/stripe/api_resources/payout.pyc
+${PYSITELIB}/stripe/api_resources/payout.pyo
+${PYSITELIB}/stripe/api_resources/person.py
+${PYSITELIB}/stripe/api_resources/person.pyc
+${PYSITELIB}/stripe/api_resources/person.pyo
+${PYSITELIB}/stripe/api_resources/plan.py
+${PYSITELIB}/stripe/api_resources/plan.pyc
+${PYSITELIB}/stripe/api_resources/plan.pyo
+${PYSITELIB}/stripe/api_resources/product.py
+${PYSITELIB}/stripe/api_resources/product.pyc
+${PYSITELIB}/stripe/api_resources/product.pyo
+${PYSITELIB}/stripe/api_resources/radar/__init__.py
+${PYSITELIB}/stripe/api_resources/radar/__init__.pyc
+${PYSITELIB}/stripe/api_resources/radar/__init__.pyo
+${PYSITELIB}/stripe/api_resources/radar/value_list.py
+${PYSITELIB}/stripe/api_resources/radar/value_list.pyc
+${PYSITELIB}/stripe/api_resources/radar/value_list.pyo
+${PYSITELIB}/stripe/api_resources/radar/value_list_item.py
+${PYSITELIB}/stripe/api_resources/radar/value_list_item.pyc
+${PYSITELIB}/stripe/api_resources/radar/value_list_item.pyo
+${PYSITELIB}/stripe/api_resources/recipient.py
+${PYSITELIB}/stripe/api_resources/recipient.pyc
+${PYSITELIB}/stripe/api_resources/recipient.pyo
+${PYSITELIB}/stripe/api_resources/recipient_transfer.py
+${PYSITELIB}/stripe/api_resources/recipient_transfer.pyc
+${PYSITELIB}/stripe/api_resources/recipient_transfer.pyo
+${PYSITELIB}/stripe/api_resources/refund.py
+${PYSITELIB}/stripe/api_resources/refund.pyc
+${PYSITELIB}/stripe/api_resources/refund.pyo
+${PYSITELIB}/stripe/api_resources/reporting/__init__.py
+${PYSITELIB}/stripe/api_resources/reporting/__init__.pyc
+${PYSITELIB}/stripe/api_resources/reporting/__init__.pyo
+${PYSITELIB}/stripe/api_resources/reporting/report_run.py
+${PYSITELIB}/stripe/api_resources/reporting/report_run.pyc
+${PYSITELIB}/stripe/api_resources/reporting/report_run.pyo
+${PYSITELIB}/stripe/api_resources/reporting/report_type.py
+${PYSITELIB}/stripe/api_resources/reporting/report_type.pyc
+${PYSITELIB}/stripe/api_resources/reporting/report_type.pyo
+${PYSITELIB}/stripe/api_resources/reversal.py
+${PYSITELIB}/stripe/api_resources/reversal.pyc
+${PYSITELIB}/stripe/api_resources/reversal.pyo
+${PYSITELIB}/stripe/api_resources/review.py
+${PYSITELIB}/stripe/api_resources/review.pyc
+${PYSITELIB}/stripe/api_resources/review.pyo
+${PYSITELIB}/stripe/api_resources/sigma/__init__.py
+${PYSITELIB}/stripe/api_resources/sigma/__init__.pyc
+${PYSITELIB}/stripe/api_resources/sigma/__init__.pyo
+${PYSITELIB}/stripe/api_resources/sigma/scheduled_query_run.py
+${PYSITELIB}/stripe/api_resources/sigma/scheduled_query_run.pyc
+${PYSITELIB}/stripe/api_resources/sigma/scheduled_query_run.pyo
+${PYSITELIB}/stripe/api_resources/sku.py
+${PYSITELIB}/stripe/api_resources/sku.pyc
+${PYSITELIB}/stripe/api_resources/sku.pyo
+${PYSITELIB}/stripe/api_resources/source.py
+${PYSITELIB}/stripe/api_resources/source.pyc
+${PYSITELIB}/stripe/api_resources/source.pyo
+${PYSITELIB}/stripe/api_resources/source_transaction.py
+${PYSITELIB}/stripe/api_resources/source_transaction.pyc
+${PYSITELIB}/stripe/api_resources/source_transaction.pyo
+${PYSITELIB}/stripe/api_resources/subscription.py
+${PYSITELIB}/stripe/api_resources/subscription.pyc
+${PYSITELIB}/stripe/api_resources/subscription.pyo
+${PYSITELIB}/stripe/api_resources/subscription_item.py
+${PYSITELIB}/stripe/api_resources/subscription_item.pyc
+${PYSITELIB}/stripe/api_resources/subscription_item.pyo
+${PYSITELIB}/stripe/api_resources/terminal/__init__.py
+${PYSITELIB}/stripe/api_resources/terminal/__init__.pyc
+${PYSITELIB}/stripe/api_resources/terminal/__init__.pyo
+${PYSITELIB}/stripe/api_resources/terminal/connection_token.py
+${PYSITELIB}/stripe/api_resources/terminal/connection_token.pyc
+${PYSITELIB}/stripe/api_resources/terminal/connection_token.pyo
+${PYSITELIB}/stripe/api_resources/terminal/location.py
+${PYSITELIB}/stripe/api_resources/terminal/location.pyc
+${PYSITELIB}/stripe/api_resources/terminal/location.pyo
+${PYSITELIB}/stripe/api_resources/terminal/reader.py
+${PYSITELIB}/stripe/api_resources/terminal/reader.pyc
+${PYSITELIB}/stripe/api_resources/terminal/reader.pyo
+${PYSITELIB}/stripe/api_resources/three_d_secure.py
+${PYSITELIB}/stripe/api_resources/three_d_secure.pyc
+${PYSITELIB}/stripe/api_resources/three_d_secure.pyo
+${PYSITELIB}/stripe/api_resources/token.py
+${PYSITELIB}/stripe/api_resources/token.pyc
+${PYSITELIB}/stripe/api_resources/token.pyo
+${PYSITELIB}/stripe/api_resources/topup.py
+${PYSITELIB}/stripe/api_resources/topup.pyc
+${PYSITELIB}/stripe/api_resources/topup.pyo
+${PYSITELIB}/stripe/api_resources/transfer.py
+${PYSITELIB}/stripe/api_resources/transfer.pyc
+${PYSITELIB}/stripe/api_resources/transfer.pyo
+${PYSITELIB}/stripe/api_resources/usage_record.py
+${PYSITELIB}/stripe/api_resources/usage_record.pyc
+${PYSITELIB}/stripe/api_resources/usage_record.pyo
+${PYSITELIB}/stripe/api_resources/usage_record_summary.py
+${PYSITELIB}/stripe/api_resources/usage_record_summary.pyc
+${PYSITELIB}/stripe/api_resources/usage_record_summary.pyo
+${PYSITELIB}/stripe/api_resources/webhook_endpoint.py
+${PYSITELIB}/stripe/api_resources/webhook_endpoint.pyc
+${PYSITELIB}/stripe/api_resources/webhook_endpoint.pyo
${PYSITELIB}/stripe/data/ca-certificates.crt
${PYSITELIB}/stripe/error.py
${PYSITELIB}/stripe/error.pyc
@@ -17,9 +264,6 @@
${PYSITELIB}/stripe/http_client.py
${PYSITELIB}/stripe/http_client.pyc
${PYSITELIB}/stripe/http_client.pyo
-${PYSITELIB}/stripe/importer.py
-${PYSITELIB}/stripe/importer.pyc
-${PYSITELIB}/stripe/importer.pyo
Home |
Main Index |
Thread Index |
Old Index