summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 03:25:00 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 03:25:00 +0000
commit9f59e18714a6904d7537ec014274a7146b52d28f (patch)
treedad6db108e90aa87387bed972b02ce813d3306ee
parent31d521e284fb726f14a7a2dec3b2893129efe274 (diff)
automatic import of python-instagrapi
-rw-r--r--.gitignore1
-rw-r--r--python-instagrapi.spec120
-rw-r--r--sources1
3 files changed, 122 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..1ceaca3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/instagrapi-1.17.3.tar.gz
diff --git a/python-instagrapi.spec b/python-instagrapi.spec
new file mode 100644
index 0000000..a0aa6db
--- /dev/null
+++ b/python-instagrapi.spec
@@ -0,0 +1,120 @@
+%global _empty_manifest_terminate_build 0
+Name: python-instagrapi
+Version: 1.17.3
+Release: 1
+Summary: Fast and effective Instagram Private API wrapper
+License: MIT
+URL: https://github.com/adw0rd/instagrapi
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e9/a0/d9435837df580538f87239bd371942803ca79f134cd5f8ee2710a0688feb/instagrapi-1.17.3.tar.gz
+BuildArch: noarch
+
+
+%description
+
+Fast and effective Instagram Private API wrapper (public+private requests and challenge resolver).
+
+Use the most recent version of the API from Instagram.
+
+Features:
+
+1. Performs Public API (web, anonymous) or Private API (mobile app, authorized)
+ requests depending on the situation (to avoid Instagram limits)
+2. Challenge Resolver have Email (as well as recipes for automating receive a code from email) and SMS handlers
+3. Support upload a Photo, Video, IGTV, Clips (Reels), Albums and Stories
+4. Support work with User, Media, Insights, Collections, Location (Place), Hashtag and Direct objects
+5. Like, Follow, Edit account (Bio) and much more else
+6. Insights by account, posts and stories
+7. Build stories with custom background, font animation, swipe up link and mention users
+8. In the next release, account registration and captcha passing will appear
+
+
+%package -n python3-instagrapi
+Summary: Fast and effective Instagram Private API wrapper
+Provides: python-instagrapi
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-instagrapi
+
+Fast and effective Instagram Private API wrapper (public+private requests and challenge resolver).
+
+Use the most recent version of the API from Instagram.
+
+Features:
+
+1. Performs Public API (web, anonymous) or Private API (mobile app, authorized)
+ requests depending on the situation (to avoid Instagram limits)
+2. Challenge Resolver have Email (as well as recipes for automating receive a code from email) and SMS handlers
+3. Support upload a Photo, Video, IGTV, Clips (Reels), Albums and Stories
+4. Support work with User, Media, Insights, Collections, Location (Place), Hashtag and Direct objects
+5. Like, Follow, Edit account (Bio) and much more else
+6. Insights by account, posts and stories
+7. Build stories with custom background, font animation, swipe up link and mention users
+8. In the next release, account registration and captcha passing will appear
+
+
+%package help
+Summary: Development documents and examples for instagrapi
+Provides: python3-instagrapi-doc
+%description help
+
+Fast and effective Instagram Private API wrapper (public+private requests and challenge resolver).
+
+Use the most recent version of the API from Instagram.
+
+Features:
+
+1. Performs Public API (web, anonymous) or Private API (mobile app, authorized)
+ requests depending on the situation (to avoid Instagram limits)
+2. Challenge Resolver have Email (as well as recipes for automating receive a code from email) and SMS handlers
+3. Support upload a Photo, Video, IGTV, Clips (Reels), Albums and Stories
+4. Support work with User, Media, Insights, Collections, Location (Place), Hashtag and Direct objects
+5. Like, Follow, Edit account (Bio) and much more else
+6. Insights by account, posts and stories
+7. Build stories with custom background, font animation, swipe up link and mention users
+8. In the next release, account registration and captcha passing will appear
+
+
+%prep
+%autosetup -n instagrapi-1.17.3
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-instagrapi -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.17.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..6fa6c05
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+cbc4f17bd4a103e5379888cbe5d11dcf instagrapi-1.17.3.tar.gz