semapapo 1.3.1__tar.gz → 1.4.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: semapapo
3
- Version: 1.3.1
3
+ Version: 1.4.1
4
4
  Summary: semapapo
5
5
  Author: potalej, jcgs, yuri-pin
6
6
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "semapapo"
7
- version = "1.3.1"
7
+ version = "1.4.1"
8
8
  description = "semapapo"
9
9
  authors = [{ name = "potalej" }, { name = "jcgs" }, { name="yuri-pin"} ]
10
10
  readme = "README.md"
@@ -11,24 +11,36 @@ def configurar ():
11
11
  config_dir.mkdir(exist_ok=True)
12
12
 
13
13
  config_file.write_text("""
14
- hora=$(date +%H)
14
+ hora=$(date +%H%M)
15
15
  hora=$((10#$hora))
16
16
  frase="agora são $(date '+%H:%M')"
17
17
 
18
- if (( hora >= 4 && hora < 11 )); then
18
+ if (( hora >= 400 && hora < 830 )); then
19
19
  msg="bom dia! $frase"
20
- elif (( hora >= 11 && hora < 13 )); then
20
+ elif (( hora >= 830 && hora < 1030 )); then
21
+ msg="bom dia! café? $frase"
22
+ elif (( hora >= 1030 && hora < 1115 )); then
23
+ msg="bom dia ! $frase"
24
+ elif (( hora >= 1115 && hora < 1300 )); then
21
25
  msg="já pode? $frase"
22
- elif (( hora >= 13 && hora < 15 )); then
26
+ elif (( hora >= 1300 && hora < 1415 )); then
27
+ msg="café com buchin chei? $frase"
28
+ elif (( hora >= 1415 && hora < 1500 )); then
23
29
  msg="café? $frase"
24
- elif (( hora >= 15 && hora < 17 )); then
30
+ elif (( hora >= 1500 && hora < 1730 )); then
25
31
  msg="boa tarde! $frase"
26
- elif (( hora >= 17 && hora < 19 )); then
27
- msg="bó jantá? $frase"
28
- elif (( hora >= 19 && hora < 20 )); then
32
+ elif (( hora >= 1730 && hora < 1800 )); then
33
+ msg="boa tarde! bó jantá? $frase"
34
+ elif (( Hora >= 1800 && hora < 1801 )); then
35
+ msg="caraca são $frase"
36
+ elif (( Hora >= 1801 && hora < 1945 )); then
37
+ msg="boa noite! bó jantá? $frase"
38
+ elif (( hora >= 1945 && hora < 2000 )); then
29
39
  msg="boa noite! $frase"
30
- elif (( hora >= 20 )); then
40
+ elif (( hora >= 2000 && hora < 2230)); then
31
41
  msg="sextou! $frase"
42
+ elif (( hora >= 2230 )); then
43
+ msg="já ta em casa? $frase"
32
44
  else
33
45
  msg="tá acordado pq? $frase"
34
46
  fi
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: semapapo
3
- Version: 1.3.1
3
+ Version: 1.4.1
4
4
  Summary: semapapo
5
5
  Author: potalej, jcgs, yuri-pin
6
6
  Description-Content-Type: text/markdown
File without changes
File without changes
File without changes